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

Commit a545b079 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

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
parent bc2aabe8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 {