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

Commit 97aef06a authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Do not allow elevating system_server priority for remote anim

Test: go/wm-smoke
Bug: 77908520
Change-Id: I45f47d73bedb7317c9e80907930f8d4d628f212a
parent 519249f4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -14542,6 +14542,10 @@ public class ActivityManagerService extends IActivityManager.Stub
    }
    void setRunningRemoteAnimation(int pid, boolean runningRemoteAnimation) {
        if (pid == Process.myPid()) {
            Slog.wtf(TAG, "system can't run remote animation");
            return;
        }
        synchronized (ActivityManagerService.this) {
            final ProcessRecord pr;
            synchronized (mPidsSelfLocked) {