1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 17:57:16 +00:00

MOD for Android 14 beta only

This commit is contained in:
M66B 2024-03-17 08:48:36 +01:00
parent b61ea3303b
commit 8d21c68afc

View file

@ -857,6 +857,10 @@ public class ApplicationEx extends Application
} else if (version < 2168) {
if (Helper.isGoogle())
editor.putBoolean("mod", true);
} else if (version < 2170) {
if (Build.PRODUCT == null || !Build.PRODUCT.endsWith("_beta") ||
Build.VERSION.SDK_INT < Build.VERSION_CODES.UPSIDE_DOWN_CAKE)
editor.putBoolean("mod", false);
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && !BuildConfig.DEBUG)