|
|
|
@ -1118,6 +1118,11 @@ public class ApplicationEx extends Application
|
|
|
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)
|
|
|
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)
|
|
|
|
editor.remove("background_service");
|
|
|
|
editor.remove("background_service");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (version < 2298) {
|
|
|
|
|
|
|
|
if (prefs.contains("viewport_height"))
|
|
|
|
|
|
|
|
editor.putInt("viewport_height", 0);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (version < BuildConfig.VERSION_CODE)
|
|
|
|
if (version < BuildConfig.VERSION_CODE)
|
|
|
|
editor.putInt("previous_version", version);
|
|
|
|
editor.putInt("previous_version", version);
|
|
|
|
editor.putInt("version", BuildConfig.VERSION_CODE);
|
|
|
|
editor.putInt("version", BuildConfig.VERSION_CODE);
|
|
|
|
|