mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-13 09:26:52 -04:00
Fix:#2448-Set the tts working in background as well
This commit is contained in:
parent
1d82cd1a76
commit
b0c3133539
@ -1413,9 +1413,6 @@ public abstract class CoreReaderFragment extends BaseFragment
|
|||||||
public void onPause() {
|
public void onPause() {
|
||||||
super.onPause();
|
super.onPause();
|
||||||
saveTabStates();
|
saveTabStates();
|
||||||
if (tts != null) {
|
|
||||||
tts.stop();
|
|
||||||
}
|
|
||||||
Log.d(TAG_KIWIX,
|
Log.d(TAG_KIWIX,
|
||||||
"onPause Save current zim file to preferences: " + zimReaderContainer.getZimCanonicalPath());
|
"onPause Save current zim file to preferences: " + zimReaderContainer.getZimCanonicalPath());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user