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();
|
final Computer snapshot = snapshot();
|
||||||
// Return null for InstantApps.
|
// Return null for InstantApps.
|
||||||
if (snapshot.getInstantAppPackageName(Binder.getCallingUid()) != null) {
|
if (snapshot.getInstantAppPackageName(Binder.getCallingUid()) != null) {
|
||||||
|
Log.w(PackageManagerService.TAG, "Returning null PackageInstaller for InstantApps");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return mInstallerService;
|
return mInstallerService;
|
||||||
|
|||||||
Reference in New Issue
Block a user