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

Commit 99fbf926 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #27289462: Alarm clock not working on NRC49C

Don't really want the system to crash.

Change-Id: I4b8ebca00a4e6a7d67717baf7267165de9e8afb3
parent f8df4d0d
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -12291,10 +12291,11 @@ public final class ActivityManagerService extends ActivityManagerNative
                                    + " from " + proc.initialIdlePss + ")", true);
                        }
                    }
                } else if (proc.setProcState < ActivityManager.PROCESS_STATE_HOME) {
                } else if (proc.setProcState < ActivityManager.PROCESS_STATE_HOME
                        && proc.setProcState > ActivityManager.PROCESS_STATE_NONEXISTENT) {
                    proc.notCachedSinceIdle = true;
                    proc.initialIdlePss = 0;
                    proc.nextPssTime = ProcessList.computeNextPssTime(proc.curProcState, true,
                    proc.nextPssTime = ProcessList.computeNextPssTime(proc.setProcState, true,
                            mTestPssMode, isSleeping(), now);
                }
            }