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

Commit f5ad0485 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add required procLock to freeze state changes" into main

parents b0af159d 7fd40566
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1357,8 +1357,10 @@ class ProcessRecord extends ProcessRecordInternal implements WindowProcessListen
                        + "): " + reason, info.uid);
            }
            // Since the process is getting killed, reset the freezable related state.
            synchronized (mProcLock) {
                mOptRecord.setPendingFreeze(false);
                mOptRecord.setFrozen(false);
            }
            if (mPid > 0) {
                mService.mProcessList.noteAppKill(this, reasonCode, subReason, description);
                EventLog.writeEvent(EventLogTags.AM_KILL,