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

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

Merge "Clear calling identity when requesting syncInputTransaction" into...

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

Change-Id: I0b8c3d869024028e672a4a6844b0c4e37090ad7c
parents e50ab527 b4740344
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);
        }
    }

    /**