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

Commit d640933d authored by Chavi Weingarten's avatar Chavi Weingarten Committed by Automerger Merge Worker
Browse files

Merge "Clear calling identity when requesting syncInputTransaction" into rvc-dev am: 5ffe0660

Change-Id: If685d30e52531cfbbc0ed5d4992e8cfb9e7d69da
parents 105d51eb 5ffe0660
Loading
Loading
Loading
Loading
+15 −10
Original line number Diff line number Diff line
@@ -7922,6 +7922,8 @@ public class WindowManagerService extends IWindowManager.Stub

    @Override
    public void syncInputTransactions() {
        long token = Binder.clearCallingIdentity();
        try {
            waitForAnimationsToComplete();

            // Collect all input transactions from all displays to make sure we could sync all input
@@ -7934,6 +7936,9 @@ public class WindowManagerService extends IWindowManager.Stub
            }

            t.syncInputWindows().apply();
        } finally {
            Binder.restoreCallingIdentity(token);
        }
    }

    /**