altosdroid: Only speak when GUI is running
authorKeith Packard <keithp@keithp.com>
Tue, 17 Feb 2015 05:32:54 +0000 (21:32 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 17 Feb 2015 05:32:54 +0000 (21:32 -0800)
commit8f2d82461f3cf5da157b23ea45a2fa60d56b196b
tree93863dd08f38ae3e9d9694ccda928833149c8d0a
parent877609a60a9f2c61c1efad8285b2a3c22f59be28
altosdroid: Only speak when GUI is running

Create voice in onStart, stop it in onStop. This way, if some other
application is in use, the voice won't be annoying you.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosdroid/src/org/altusmetrum/AltosDroid/AltosDroid.java