1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-03-15 08:29:24 +00:00

TTS helper should not be shutdown

This commit is contained in:
M66B 2024-08-27 09:21:15 +02:00
parent fb37f155e5
commit 933960b347
2 changed files with 0 additions and 16 deletions

View file

@ -1096,8 +1096,6 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
liveAccountNetworkState.postDestroy();
TTSHelper.shutdown();
try {
stopForeground(true);
} catch (Throwable ex) {

View file

@ -90,18 +90,4 @@ public class TTSHelper {
speak.run();
}
}
static void shutdown() {
synchronized (lock) {
if (instance != null)
try {
Log.i("TTS shutdown");
instance.shutdown();
instance = null;
} catch (Throwable ex) {
Log.e(ex);
}
status = null;
}
}
}