mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-18 11:55:38 -04:00
#2364 bug fixed
This commit is contained in:
parent
bcb01ef5b9
commit
bc2e51fafa
@ -1186,6 +1186,7 @@ public abstract class CoreReaderFragment extends BaseFragment
|
|||||||
|
|
||||||
updateBottomToolbarVisibility();
|
updateBottomToolbarVisibility();
|
||||||
updateNightMode();
|
updateNightMode();
|
||||||
|
setUpTTS();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void openFullScreenIfEnabled() {
|
private void openFullScreenIfEnabled() {
|
||||||
@ -1495,10 +1496,13 @@ public abstract class CoreReaderFragment extends BaseFragment
|
|||||||
public void onPause() {
|
public void onPause() {
|
||||||
super.onPause();
|
super.onPause();
|
||||||
saveTabStates();
|
saveTabStates();
|
||||||
|
tts.shutdown();
|
||||||
|
tts = null;
|
||||||
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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void webViewUrlLoading() {
|
public void webViewUrlLoading() {
|
||||||
if (isFirstRun && !BuildConfig.DEBUG) {
|
if (isFirstRun && !BuildConfig.DEBUG) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user