Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73597661 authored by Christopher Tate's avatar Christopher Tate
Browse files

Twilight alarms are now non-wakeup but exact

Change-Id: Iccb15065d7a0483f0bc2aff0238b94e946b8cbf1
parent eeda23d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -520,7 +520,7 @@ public final class TwilightService {
            Intent updateIntent = new Intent(ACTION_UPDATE_TWILIGHT_STATE);
            PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, 0, updateIntent, 0);
            mAlarmManager.cancel(pendingIntent);
            mAlarmManager.set(AlarmManager.RTC_WAKEUP, nextUpdate, pendingIntent);
            mAlarmManager.setExact(AlarmManager.RTC, nextUpdate, pendingIntent);
        }
    };