Struct certificate checking by default

This commit is contained in:
M66B
2023-12-08 08:33:15 +01:00
parent 555abf50c7
commit e013adf7f3
4 changed files with 8 additions and 3 deletions

View File

@@ -831,6 +831,11 @@ public class ApplicationEx extends Application
editor.putBoolean("updown", false);
} else if (version < 2113)
editor.remove("send_more");
else if (version < 2137) {
// https://support.google.com/faqs/answer/6346016
if (!prefs.contains("cert_strict"))
editor.putBoolean("cert_strict", !BuildConfig.PLAY_STORE_RELEASE);
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)
editor.remove("background_service");