Merge "Cache correct calling UID for VcnStatusCallbacks." am: 7510bf5e99 am: ff05984891 am: d7c4c0cf12

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1649649

Change-Id: Ifc9c9a6cbbcdc415899b3fee0ce8601e0107aab7
This commit is contained in:
Cody Kesting
2021-03-23 14:00:35 +00:00
committed by Automerger Merge Worker

View File

@@ -820,8 +820,7 @@ public class VcnManagementService extends IVcnManagementService.Stub {
final IBinder cbBinder = callback.asBinder();
final VcnStatusCallbackInfo cbInfo =
new VcnStatusCallbackInfo(
subGroup, callback, opPkgName, mDeps.getBinderCallingUid());
new VcnStatusCallbackInfo(subGroup, callback, opPkgName, callingUid);
try {
cbBinder.linkToDeath(cbInfo, 0 /* flags */);