Also set calling pid when registering for next activity start
Test: Share bugreport to Gmail from notification shade Test: go/wm-smoke Bug: 73991490 Change-Id: I46e933973f6cd984f7bb1e8231247fdb062a766c
This commit is contained in:
@@ -26593,6 +26593,7 @@ public class ActivityManagerService extends IActivityManager.Stub
|
||||
RemoteAnimationAdapter adapter) throws RemoteException {
|
||||
enforceCallingPermission(CONTROL_REMOTE_APP_TRANSITION_ANIMATIONS,
|
||||
"registerRemoteAnimationForNextActivityStart");
|
||||
adapter.setCallingPid(Binder.getCallingPid());
|
||||
synchronized (this) {
|
||||
final long origId = Binder.clearCallingIdentity();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user