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

Commit 1a9436e2 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: Ic8c26fceeb69e75873717982d6c8f7b881f85763
parents c6bf8c77 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);
        }
    }

    /**