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

Commit f38af450 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Clear identity when releasing display resources." into udc-dev

parents 9087af02 e83500d7
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -987,8 +987,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);
        }
    }

    /**