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

Commit db0f8bed authored by Alon Albert's avatar Alon Albert
Browse files

Start Alarm Explicitly with a Class

Bug: 10220104
Change-Id: Id60b16394472b62c72be3cf7d6029374c53650f4
parent 4c68a4b7
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);