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

Commit 772546e0 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Clear identity when releasing display resources."

parents 480edd13 cafd1681
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -960,7 +960,12 @@ final class VirtualDeviceImpl extends IVirtualDevice.Stub
                    "Virtual device doesn't have a virtual display with ID " + displayId);
        }

        final long ident = Binder.clearCallingIdentity();
        try {
            releaseOwnedVirtualDisplayResources(virtualDisplayWrapper);
        } finally {
            Binder.restoreCallingIdentity(ident);
        }
    }

    private void checkVirtualInputDeviceDisplayIdAssociation(int displayId) {