Don't show Keep Android Open popup on debug builds

This commit is contained in:
Yevhen Babiichuk (DustDFG) 2026-02-26 11:34:52 +02:00
parent 9f1e2c6fd0
commit 042f9460b0

View file

@ -200,7 +200,11 @@ public class MainActivity extends AppCompatActivity {
UpdateSettingsFragment.askForConsentToUpdateChecks(this);
}
showKeepAndroidDialog();
// ReleaseVersionUtil.INSTANCE.isReleaseApk() will be true only for main official build
// We want every release build (nightly, nightly-refactor) to show the popup
if (!DEBUG) {
showKeepAndroidDialog();
}
MigrationManager.showUserInfoIfPresent(this);
}