summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetManager.cpp
diff options
context:
space:
mode:
authorMÃ¥rten Kongstad <marten.kongstad@sony.com>2018-09-20 13:09:47 +0200
committerTodd Kennedy <toddke@google.com>2018-11-12 13:24:33 -0800
commit06a1ac82294c2f6b73af59936195546b5eb78ed6 (patch)
tree22cd7c22e1d9eeabfca8bbd52f0238cba9852a09 /libs/androidfw/AssetManager.cpp
parentb4c2dc0c1fc09acabfffa1f239e8fa48c75aecae (diff)
Prepare for switch to idmap2
Prepare the idmap and asset managers for interfacing with idmap2 instead of today's installd + idmap pipeline, but don't make the switch just yet. Instead, idmap2 runs as its own native daemon with an AIDL interface. This removes the need for installd to fork and exec on each idmap call, saving about 50 ms per call. Bug: 78815803 Test: atest OverlayDeviceTests OverlayHostTests Change-Id: I60852e15d99329896ff9de6559d1e7cd1c67e33d
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
-rw-r--r--libs/androidfw/AssetManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/androidfw/AssetManager.cpp b/libs/androidfw/AssetManager.cpp
index 843c1461e21b..1cb0d25d8c08 100644
--- a/libs/androidfw/AssetManager.cpp
+++ b/libs/androidfw/AssetManager.cpp
@@ -72,7 +72,7 @@ static volatile int32_t gCount = 0;
const char* AssetManager::RESOURCES_FILENAME = "resources.arsc";
const char* AssetManager::IDMAP_BIN = "/system/bin/idmap";
-const char* AssetManager::OVERLAY_DIR = "/vendor/overlay";
+const char* AssetManager::VENDOR_OVERLAY_DIR = "/vendor/overlay";
const char* AssetManager::PRODUCT_OVERLAY_DIR = "/product/overlay";
const char* AssetManager::PRODUCT_SERVICES_OVERLAY_DIR = "/product_services/overlay";
const char* AssetManager::OVERLAY_THEME_DIR_PROPERTY = "ro.boot.vendor.overlay.theme";