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

Commit b94103d2 authored by Chad Brubaker's avatar Chad Brubaker
Browse files

Don't skip verification of Instant Apps

Test: builds
Change-Id: I546a31334b8f15f360ca5599d96ac8783496fc92
parent e45606d6
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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);