Disable experiments for Play store version

This commit is contained in:
M66B 2021-03-08 08:23:12 +01:00
parent aec774320d
commit 96e5c7987d
1 changed files with 4 additions and 2 deletions

View File

@ -415,8 +415,10 @@ public class ApplicationEx extends Application
} else if (version < 1477) {
if (!BuildConfig.DEBUG)
editor.remove("experiments");
} else if (version == 1492)
editor.putBoolean("experiments", !BuildConfig.PLAY_STORE_RELEASE);
} else if (version < 1524) {
if (BuildConfig.PLAY_STORE_RELEASE)
editor.remove("experiments");
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)
editor.remove("background_service");