Disable experiments for Play store version

pull/194/head
M66B 4 years ago
parent aec774320d
commit 96e5c7987d

@ -415,8 +415,10 @@ public class ApplicationEx extends Application
} else if (version < 1477) { } else if (version < 1477) {
if (!BuildConfig.DEBUG) if (!BuildConfig.DEBUG)
editor.remove("experiments"); editor.remove("experiments");
} else if (version == 1492) } else if (version < 1524) {
editor.putBoolean("experiments", !BuildConfig.PLAY_STORE_RELEASE); if (BuildConfig.PLAY_STORE_RELEASE)
editor.remove("experiments");
}
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");

Loading…
Cancel
Save