From 1031bad5edd2e73eda091cd1e84746f4710c7528 Mon Sep 17 00:00:00 2001 From: Wrichik Basu <56736644+WrichikBasu@users.noreply.github.com> Date: Sat, 1 Oct 2022 17:21:22 +0530 Subject: [PATCH] Change version codes to v3.0.0 --- app/build.gradle | 4 ++-- .../in/basulabs/shakealarmclock/Activity_AlarmDetails.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index d43450a..d7b161f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ android { applicationId "in.basulabs.shakealarmclock" minSdkVersion 21 targetSdkVersion 31 - versionCode 28 - versionName "3.0.0-beta" + versionCode 29 + versionName "3.0.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/src/main/java/in/basulabs/shakealarmclock/Activity_AlarmDetails.java b/app/src/main/java/in/basulabs/shakealarmclock/Activity_AlarmDetails.java index 001c4dd..15a9d7a 100644 --- a/app/src/main/java/in/basulabs/shakealarmclock/Activity_AlarmDetails.java +++ b/app/src/main/java/in/basulabs/shakealarmclock/Activity_AlarmDetails.java @@ -99,7 +99,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) { .addToBackStack(BACK_STACK_TAG) .commit(); - } else if (getIntent().getAction().equals(ACTION_EXISTING_ALARM)) { + } else if (Objects.requireNonNull(getIntent().getAction()).equals(ACTION_EXISTING_ALARM)) { Bundle data = Objects.requireNonNull(getIntent().getExtras()).getBundle(BUNDLE_KEY_ALARM_DETAILS);