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

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

Merge "Do not allow elevating system_server priority for remote anim" into pi-dev

parents 981d61dd 97aef06a
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) {