Merge "Do not allow elevating system_server priority for remote anim" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
cff0c85629
@@ -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