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

Commit 64f3d11d authored by Calin Juravle's avatar Calin Juravle Committed by android-build-merger
Browse files

DEXOPT_FORCE may be passed for primary apk as well. am: 2ab108c5

am: b77cb8b6

Change-Id: I83f8e20747b6f001a7ec44a1f708d71811a81f51
parents c8bf9b2f b77cb8b6
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -1422,7 +1422,6 @@ int dexopt(const char* dex_path, uid_t uid, const char* pkgname, const char* ins
    } else {
    } else {
        // Currently these flags are only use for secondary dex files.
        // Currently these flags are only use for secondary dex files.
        // Verify that they are not set for primary apks.
        // Verify that they are not set for primary apks.
        CHECK((dexopt_flags & DEXOPT_FORCE) == 0);
        CHECK((dexopt_flags & DEXOPT_STORAGE_CE) == 0);
        CHECK((dexopt_flags & DEXOPT_STORAGE_CE) == 0);
        CHECK((dexopt_flags & DEXOPT_STORAGE_DE) == 0);
        CHECK((dexopt_flags & DEXOPT_STORAGE_DE) == 0);
    }
    }