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

Commit a2e32910 authored by Mark Renouf's avatar Mark Renouf Committed by Android (Google) Code Review
Browse files

Merge "Remove isWindowToken check from requestScrollCapture"

parents 1fa0e085 eaf062ab
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -6928,9 +6928,6 @@ public class WindowManagerService extends IWindowManager.Stub
        if (!checkCallingPermission(READ_FRAME_BUFFER, "requestScrollCapture()")) {
            throw new SecurityException("Requires READ_FRAME_BUFFER permission");
        }
        if (behindClient != null && !isWindowToken(behindClient)) {
            throw new IllegalArgumentException("behindClient must be a window token");
        }
        final long token = Binder.clearCallingIdentity();
        try {
            synchronized (mGlobalLock) {