Skip to content

Commit d0e53fe

Browse files
committed
Discontinue debug variants
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
1 parent 3e7ea8b commit d0e53fe

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

app/src/main/java/io/github/muntashirakon/AppManager/main/MainActivity.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,14 @@ protected void onPause() {
543543
}
544544

545545
private void displayChangelogIfRequired() {
546+
if (BuildConfig.DEBUG) {
547+
new ScrollableDialogBuilder(this)
548+
.setTitle("Debug Variants Discontinued")
549+
.setMessage("The official debug builds have been discontinued. Consider migrating to the release builds as this build will stop working 2 months after the release date.")
550+
.setNegativeButton(R.string.ok, null)
551+
.show();
552+
return;
553+
}
546554
if (!AppPref.getBoolean(AppPref.PrefKey.PREF_DISPLAY_CHANGELOG_BOOL)) {
547555
return;
548556
}

0 commit comments

Comments
 (0)