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

Commit 2de17a87 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: 9cc6408b

Change-Id: Ie5b5a2b8256072c1312bb4bf13f848d0e3357c8d
parents d5f23766 9cc6408b
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);
        }
    }

    /**