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

Commit 5ffe0660 authored by Chavi Weingarten's avatar Chavi Weingarten Committed by Android (Google) Code Review
Browse files

Merge "Clear calling identity when requesting syncInputTransaction" into rvc-dev

parents 226aaf6a 0f3b9572
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);
        }
    }

    /**