From 40627d64afccad454b0dc255e3d97f31dc232bf1 Mon Sep 17 00:00:00 2001
From: WrichikBasu <56736644+WrichikBasu@users.noreply.github.com>
Date: Sat, 14 Nov 2020 20:42:46 +0530
Subject: [PATCH] Another fix for Service_SnoozeAlarm being killed.
Some devices are still reporting that the snooze service is being killed midway, even after e3843683. In this commit, some changes have been made in AlarmBroadcastReceiver so as to prevent spurious triggering of Service_UpdateAlarm.
---
app/build.gradle | 8 ++++----
app/src/main/AndroidManifest.xml | 9 ---------
.../basulabs/shakealarmclock/AlarmBroadcastReceiver.java | 8 +++-----
.../in/basulabs/shakealarmclock/Service_SnoozeAlarm.java | 4 ++--
.../basulabs/shakealarmclock/Worker_ActivateAlarms.java | 8 ++++----
5 files changed, 13 insertions(+), 24 deletions(-)
diff --git a/app/build.gradle b/app/build.gradle
index e783f6a..f51f5e5 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -8,8 +8,8 @@ android {
applicationId "in.basulabs.shakealarmclock"
minSdkVersion 21
targetSdkVersion 30
- versionCode 13
- versionName "1.2.10"
+ versionCode 14
+ versionName "1.2.11"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
@@ -36,12 +36,12 @@ android {
dependencies {
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
- coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.10'
+ coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.1'
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "androidx.work:work-runtime:2.4.0"
implementation 'com.github.javiersantos:AppUpdater:2.7'
implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
+ implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
implementation "androidx.room:room-runtime:2.2.5"
annotationProcessor "androidx.room:room-compiler:2.2.5"
implementation 'androidx.cardview:cardview:1.0.0'
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index f136e9a..4a16aad 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -59,15 +59,6 @@
-
-
-
-
-
-
-
-
-