Don't skip verification of Instant Apps

Test: builds
Change-Id: I546a31334b8f15f360ca5599d96ac8783496fc92
This commit is contained in:
Chad Brubaker
2017-03-06 13:24:54 -08:00
parent e45606d6c6
commit b94103d25d

View File

@@ -13840,13 +13840,6 @@ public class PackageManagerService extends IPackageManager.Stub {
if (!DEFAULT_VERIFY_ENABLE) {
return false;
}
// Ephemeral apps don't get the full verification treatment
if ((installFlags & PackageManager.INSTALL_INSTANT_APP) != 0) {
if (DEBUG_EPHEMERAL) {
Slog.d(TAG, "INSTALL_EPHEMERAL so skipping verification");
}
return false;
}
boolean ensureVerifyAppsEnabled = isUserRestricted(userId, UserManager.ENSURE_VERIFY_APPS);