From bc4eddd3c2df6a6424b9dbd63e1684ebd5c18724 Mon Sep 17 00:00:00 2001 From: Martin Stjernholm Date: Sat, 12 Nov 2022 23:21:10 +0000 Subject: Remove dalvik.vm.usejitprofiles system property. Disabling profiles is no longer supported. Most of the profile support has been active even when this property was false, and it won't be supported in the ART Service. Test: Boot with dalvik.vm.usejitprofiles=false Bug: 254434433 Ignore-AOSP-First: The topic has internal dependencies - will c-p to AOSP afterwards. Change-Id: I8edcd02fd0db2553eef2badad6c3506579533bb5 --- cmds/installd/InstalldNativeService.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmds/installd/InstalldNativeService.cpp b/cmds/installd/InstalldNativeService.cpp index b1283eb4a7..bb6639e1a8 100644 --- a/cmds/installd/InstalldNativeService.cpp +++ b/cmds/installd/InstalldNativeService.cpp @@ -501,10 +501,6 @@ static int prepare_app_cache_dir(const std::string& parent, const char* name, mo } static bool prepare_app_profile_dir(const std::string& packageName, int32_t appId, int32_t userId) { - if (!property_get_bool("dalvik.vm.usejitprofiles", false)) { - return true; - } - int32_t uid = multiuser_get_uid(userId, appId); int shared_app_gid = multiuser_get_shared_gid(userId, appId); if (shared_app_gid == -1) { -- cgit v1.2.3-59-g8ed1b