summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
authorCody Kesting <ckesting@google.com>2021-03-23 01:08:32 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-03-23 01:08:32 +0000
commit7510bf5e9997e3ca87de0b0e3165eb02488b9334 (patch)
tree914f108ec3863c0bac60b082521d0de22990967f /services
parentd880cf50a54acd6d9d7659db42195e563a4089ed (diff)
parent8ec617ad8dba0443067071a21adb5b499c38942a (diff)
Merge "Cache correct calling UID for VcnStatusCallbacks."
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/VcnManagementService.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/VcnManagementService.java b/services/core/java/com/android/server/VcnManagementService.java
index 6c18cdea51fa..d561ab96c365 100644
--- a/services/core/java/com/android/server/VcnManagementService.java
+++ b/services/core/java/com/android/server/VcnManagementService.java
@@ -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 */);