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

am: cff0c85629

Change-Id: I3eb4873f1461a815ebe3e0c10f68e025ca6a80cc
This commit is contained in:
Jorim Jaggi
2018-04-23 11:18:46 -07:00
committed by android-build-merger

View File

@@ -14416,6 +14416,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) {