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

Commit 57c1b777 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

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

parents 6292fc5b f38af450
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);
        }
    }

    /**