diff --git a/android/app/src/main/java/live/iqfareez/waktusolatmalaysia/SolatHorizontalWidget.kt b/android/app/src/main/java/live/iqfareez/waktusolatmalaysia/SolatHorizontalWidget.kt index 8166b87..b355831 100644 --- a/android/app/src/main/java/live/iqfareez/waktusolatmalaysia/SolatHorizontalWidget.kt +++ b/android/app/src/main/java/live/iqfareez/waktusolatmalaysia/SolatHorizontalWidget.kt @@ -219,11 +219,6 @@ private fun scheduleNextUpdate(context: Context) { // guarantee the timing to be run exact as the time we assigned to it alarmManager.set(AlarmManager.RTC, midnight.timeInMillis, pendingIntent) Log.d(LOG_TAG, "scheduleNextUpdate: Didn't have permission-Scheduled NOT exact alarm") - alarmManager.setExact( - AlarmManager.RTC, - midnight.timeInMillis, - pendingIntent - ); return; } } diff --git a/android/app/src/main/java/live/iqfareez/waktusolatmalaysia/SolatVerticalWidget.kt b/android/app/src/main/java/live/iqfareez/waktusolatmalaysia/SolatVerticalWidget.kt index 2b4726e..77da209 100644 --- a/android/app/src/main/java/live/iqfareez/waktusolatmalaysia/SolatVerticalWidget.kt +++ b/android/app/src/main/java/live/iqfareez/waktusolatmalaysia/SolatVerticalWidget.kt @@ -83,11 +83,6 @@ private fun scheduleNextUpdate(context: Context) { // guarantee the timing to be run exact as the time we assigned to it alarmManager.set(AlarmManager.RTC, midnight.timeInMillis, pendingIntent) Log.d(LOG_TAG, "scheduleNextUpdate: Didn't have permission-Scheduled NOT exact alarm") - alarmManager.setExact( - AlarmManager.RTC, - midnight.timeInMillis, - pendingIntent - ); return; } }