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

Commit 2457120d authored by Xiaohui Niu's avatar Xiaohui Niu
Browse files

Fix sticky unfreeze app failure

unfreezeAppInternalLSP skips unfreezing if
unfreeze with sticky but not force.

Bug: 301531352
Test: am freeze [--sticky] <processname>
Test: am unfreeze [--sticky] <processname>
Change-Id: Icdefbae13efa563d7387815c5d5b9f62035c3281
parent 7039b4f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1174,7 +1174,7 @@ final class ActivityManagerShellCommand extends ShellCommand {
                synchronized (mInternal.mOomAdjuster.mCachedAppOptimizer.mFreezerLock) {
                    app.mOptRecord.setFreezeSticky(isSticky);
                    mInternal.mOomAdjuster.mCachedAppOptimizer.unfreezeAppInternalLSP(app, 0,
                            false);
                            true);
                }
            }
        }