Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a321b3fe authored by Jackal Guo's avatar Jackal Guo Committed by Android (Google) Code Review
Browse files

Merge "Rename pmInternal#getPackageUidInternal (4/4)"

parents 1d4d4461 a1396220
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -209,8 +209,8 @@ public class WebViewUpdateService extends SystemService {
        private void grantVisibilityToCaller(String webViewPackageName, int callingUid) {
            final PackageManagerInternal pmInternal = LocalServices.getService(
                    PackageManagerInternal.class);
            final int webviewUid = pmInternal.getPackageUidInternal(
                    webViewPackageName, 0, UserHandle.getUserId(callingUid));
            final int webviewUid = pmInternal.getPackageUid(
                    webViewPackageName, 0 /* flags */, UserHandle.getUserId(callingUid));
            pmInternal.grantImplicitAccess(UserHandle.getUserId(callingUid), null,
                    UserHandle.getAppId(callingUid), webviewUid,
                    true /*direct*/);