From ca759dbbb198c60f4d30dbf3d19f7fd588a25394 Mon Sep 17 00:00:00 2001 From: nift4 Date: Fri, 12 Feb 2021 17:43:46 +0100 Subject: [PATCH] 0.2.0-rc4 * Disable back in wizards --- app/build.gradle | 4 ++-- .../org/androidbootmanager/app/ui/wizard/WizardActivity.java | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index c7b87e92..c9a09c36 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -11,8 +11,8 @@ android { // we're not going to google play //noinspection OldTargetApi targetSdkVersion 27 - versionCode 2030 - versionName "0.2.0-rc3" + versionCode 2040 + versionName "0.2.0-rc4" } signingConfigs { release { diff --git a/app/src/main/java/org/androidbootmanager/app/ui/wizard/WizardActivity.java b/app/src/main/java/org/androidbootmanager/app/ui/wizard/WizardActivity.java index 951183ff..2782d3cc 100644 --- a/app/src/main/java/org/androidbootmanager/app/ui/wizard/WizardActivity.java +++ b/app/src/main/java/org/androidbootmanager/app/ui/wizard/WizardActivity.java @@ -60,4 +60,9 @@ protected void onCreate(Bundle savedInstanceState) { }); model.getNegativeText().observe(this,((Button) findViewById(R.id.wizard_negativeButton))::setText); } + + @Override + public void onBackPressed() { + // Do nothing + } } \ No newline at end of file