Merge "[pm] more logging when returning null PackageInstaller to instant apps" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
211e4a385f
@@ -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