Merge "Clear identity when releasing display resources." into udc-dev am: f38af45079
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23588842 Change-Id: I950d85bc6f335c20831a2948df165bc81e0b7ad3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -987,8 +987,12 @@ final class VirtualDeviceImpl extends IVirtualDevice.Stub
|
|||||||
"Virtual device doesn't have a virtual display with ID " + displayId);
|
"Virtual device doesn't have a virtual display with ID " + displayId);
|
||||||
}
|
}
|
||||||
|
|
||||||
releaseOwnedVirtualDisplayResources(virtualDisplayWrapper);
|
final long ident = Binder.clearCallingIdentity();
|
||||||
|
try {
|
||||||
|
releaseOwnedVirtualDisplayResources(virtualDisplayWrapper);
|
||||||
|
} finally {
|
||||||
|
Binder.restoreCallingIdentity(ident);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user