[pm] more logging when returning null PackageInstaller to instant apps
Change-Id: I7509708dcd69672df36c6c92d1ffc16d7a4e4fa8 BUG: 276758157 Test: n/a
This commit is contained in:
@@ -606,6 +606,7 @@ public abstract class IPackageManagerBase extends IPackageManager.Stub {
|
||||
final Computer snapshot = snapshot();
|
||||
// Return null for InstantApps.
|
||||
if (snapshot.getInstantAppPackageName(Binder.getCallingUid()) != null) {
|
||||
Log.w(PackageManagerService.TAG, "Returning null PackageInstaller for InstantApps");
|
||||
return null;
|
||||
}
|
||||
return mInstallerService;
|
||||
|
||||
Reference in New Issue
Block a user