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

Commit 6b66a4a8 authored by John Reck's avatar John Reck
Browse files

use findProcess instead of getProcess

Bug: 22701182
Change-Id: I2ec56c55c49401f2f213bbd318e867fd73b37672
parent eea9892d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3652,7 +3652,7 @@ public final class ActivityManagerService extends ActivityManagerNative
    @Override
    public boolean setProcessMemoryTrimLevel(String process, int userId, int level) {
        synchronized (this) {
            final ProcessRecord app = getProcessRecordLocked(process, userId, true);
            final ProcessRecord app = findProcessLocked(process, userId, "setProcessMemoryTrimLevel");
            if (app == null) {
                return false;
            }
+1 −1

File changed.

Contains only whitespace changes.