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

Commit d9e48906 authored by Mathieu Chartier's avatar Mathieu Chartier Committed by android-build-merger
Browse files

Merge "Revert "Don't use profiles with vm safe mode"" am: 60e97a4b am: 66361014 am: 4f7537f6

am: d948343f

Change-Id: Iaa891dd77c5eaac49c66dcc87c38f8742af5f965
parents bf3447a7 d948343f
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1568,9 +1568,6 @@ int dexopt(const char* apk_path, uid_t uid, const char* pkgname, const char* ins
    bool boot_complete = (dexopt_flags & DEXOPT_BOOTCOMPLETE) != 0;
    bool profile_guided = (dexopt_flags & DEXOPT_PROFILE_GUIDED) != 0;

    // Don't use profile for vm_safe_mode. b/30688277
    profile_guided = profile_guided && !vm_safe_mode;

    CHECK(pkgname != nullptr);
    CHECK(pkgname[0] != 0);