summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Martin Stjernholm <mast@google.com> 2022-11-12 23:21:10 +0000
committer Martin Stjernholm <mast@google.com> 2022-11-22 14:56:12 +0000
commitbc4eddd3c2df6a6424b9dbd63e1684ebd5c18724 (patch)
treed2d9d1e10d60cbfb426c7f6c64b0b31554f16f7d
parentfd2e7d3223b688f5a39cbb8de8418f48ccb4af0d (diff)
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
-rw-r--r--cmds/installd/InstalldNativeService.cpp4
1 files changed, 0 insertions, 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) {