Do not allow elevating system_server priority for remote anim
Test: go/wm-smoke Bug: 77908520 Change-Id: I45f47d73bedb7317c9e80907930f8d4d628f212a
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user