diff options
| author | 2024-04-19 17:11:40 +0000 | |
|---|---|---|
| committer | 2024-04-19 17:11:40 +0000 | |
| commit | e9de25f1f19d080f1708e1d220f5faf0134739ea (patch) | |
| tree | 3ef0a3e63cfdc4760c1695c6625236bb869cd014 | |
| parent | 53cedcffa5e0f362071dcf16479520a11831efb5 (diff) | |
| parent | f5a8afcfe92dc208008545e11a2ae72d221c5c78 (diff) | |
Merge "IPackageManagerNative: Add getPackageUid" into main am: d05142228a am: f5a8afcfe9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3037183
Change-Id: I91b92f0ce70562d25fb06f27cc5b93cd5fa27206
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | services/core/java/com/android/server/pm/PackageManagerNative.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/pm/PackageManagerNative.java b/services/core/java/com/android/server/pm/PackageManagerNative.java index d035084d8b02..66ecd6e67e56 100644 --- a/services/core/java/com/android/server/pm/PackageManagerNative.java +++ b/services/core/java/com/android/server/pm/PackageManagerNative.java @@ -68,6 +68,11 @@ final class PackageManagerNative extends IPackageManagerNative.Stub { } } + @Override + public int getPackageUid(String packageName, long flags, int userId) throws RemoteException { + return mPm.snapshotComputer().getPackageUid(packageName, flags, userId); + } + // NB: this differentiates between preloads and sideloads @Override public String getInstallerForPackage(String packageName) throws RemoteException { |