Merge "Cache correct calling UID for VcnStatusCallbacks."

This commit is contained in:
Cody Kesting
2021-03-23 01:08:32 +00:00
committed by Gerrit Code Review

View File

@@ -821,8 +821,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 */);