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

Commit f3c43205 authored by Amith Yamasani's avatar Amith Yamasani Committed by Gerrit Code Review
Browse files

Merge "Transit to correct state after alarm is fired"

parents 026a5847 27b33306
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1325,6 +1325,7 @@ public class DeviceIdleController extends SystemService
            // Whoops, there is an upcoming alarm.  We don't actually want to go idle.
            if (mState != STATE_ACTIVE) {
                becomeActiveLocked("alarm", Process.myUid());
                becomeInactiveIfAppropriateLocked();
            }
            return;
        }