Skip to content
Permalink
Browse files

Allow custom 7.1 ROMs with OMS to not show warning

Add ro.substratum.verified=true to build prop
  • Loading branch information...
USA-RedDragon committed Oct 31, 2016
1 parent cb299fa commit 086ff1b3f51a3896112e3a14a54140737829f24a
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/src/main/java/projekt/substratum/MainActivity.java
@@ -716,7 +716,7 @@ public void onFinish() {

printFCMtoken();

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N_MR1) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N_MR1 && !References.getProp("ro.substratum.verified").equals("true")) {
new AlertDialog.Builder(this)
.setTitle(R.string.api25_warning_title)
.setMessage(R.string.api25_warning_content)

0 comments on commit 086ff1b

Please sign in to comment.
You can’t perform that action at this time.