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

Commit 91441304 authored by Paul Sliwowski's avatar Paul Sliwowski
Browse files

Stop service when it is not needed.

Bug: 11068604
Change-Id: Ic077d607b329fe34373c347de3234c30e7856306
(cherry picked from commit 1ded8d5b)
parent e4f79e5f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ public class AlarmService extends Service {
                    " because current alarm is: " + mCurrentAlarm.mId);
                return Service.START_NOT_STICKY;
            }
            stopCurrentAlarm();
            stopSelf();
        }

        return Service.START_NOT_STICKY;