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

Commit 63f5b0d5 authored by Alon Albert's avatar Alon Albert Committed by Isaac Katzenelson
Browse files

Start Alarm Explicitly with a Class

Bug: 10220104
Change-Id: Id60b16394472b62c72be3cf7d6029374c53650f4
(cherry picked from commit db0f8bed)
parent 5c17cdfb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -150,6 +150,7 @@ public class AlarmReceiver extends BroadcastReceiver {

        // Play the alarm alert and vibrate the device.
        Intent playAlarm = new Intent(Alarms.ALARM_ALERT_ACTION);
        playAlarm.setClass(context,AlarmKlaxon.class);
        playAlarm.putExtra(Alarms.ALARM_INTENT_EXTRA, alarm);
        context.startService(playAlarm);