Don't show Keep Android Open popup on debug builds
This commit is contained in:
parent
cc8403d37a
commit
9aefaa1ac4
1 changed files with 5 additions and 1 deletions
|
|
@ -200,7 +200,11 @@ public class MainActivity extends AppCompatActivity {
|
||||||
UpdateSettingsFragment.askForConsentToUpdateChecks(this);
|
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);
|
MigrationManager.showUserInfoIfPresent(this);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue