Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
appinventor-sources
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
appinventor-sources
Commits
397061cd
Commit
397061cd
authored
Oct 25, 2023
by
Evan W. Patton
Committed by
Evan W. Patton
Oct 25, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make TTS stop when switching screens in companion
Change-Id: I993a7b73eee00b3469626c6b78369570e387d821
parent
402b2d57
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
appinventor/components/src/com/google/appinventor/components/runtime/TextToSpeech.java
...m/google/appinventor/components/runtime/TextToSpeech.java
+5
-1
No files found.
appinventor/components/src/com/google/appinventor/components/runtime/TextToSpeech.java
View file @
397061cd
...
...
@@ -69,7 +69,7 @@ description = "The TextToSpeech component speaks a given text aloud. You can se
iconName
=
"images/textToSpeech.png"
)
@SimpleObject
public
class
TextToSpeech
extends
AndroidNonvisibleComponent
implements
Component
,
OnStopListener
,
OnResumeListener
,
OnDestroyListener
/*, ActivityResultListener */
{
implements
Component
,
OnStopListener
,
OnResumeListener
,
OnDestroyListener
,
OnClearListener
{
private
static
final
Map
<
String
,
Locale
>
iso3LanguageToLocaleMap
=
Maps
.
newHashMap
();
private
static
final
Map
<
String
,
Locale
>
iso3CountryToLocaleMap
=
Maps
.
newHashMap
();
...
...
@@ -487,4 +487,8 @@ implements Component, OnStopListener, OnResumeListener, OnDestroyListener /*, Ac
tts
.
onDestroy
();
}
@Override
public
void
onClear
()
{
tts
.
onDestroy
();
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment