Add support for /odm/overlay
Add support for runtime resource overlay (RRO) APKs in /odm/overlay. Bug: 121033532 Test: manual (adb push apk to /odm/overlay, reboot, cmd overlay list) Change-Id: I0918d276dfa6a43054068d3f84ecd0d1639f1d0b
This commit is contained in:
committed by
Todd Kennedy
parent
d5c80f29cd
commit
48c24cf149
@@ -75,6 +75,7 @@ const char* AssetManager::IDMAP_BIN = "/system/bin/idmap";
|
||||
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::ODM_OVERLAY_DIR = "/odm/overlay";
|
||||
const char* AssetManager::OVERLAY_THEME_DIR_PROPERTY = "ro.boot.vendor.overlay.theme";
|
||||
const char* AssetManager::TARGET_PACKAGE_NAME = "android";
|
||||
const char* AssetManager::TARGET_APK_PATH = "/system/framework/framework-res.apk";
|
||||
|
||||
@@ -62,6 +62,7 @@ public:
|
||||
static const char* VENDOR_OVERLAY_DIR;
|
||||
static const char* PRODUCT_OVERLAY_DIR;
|
||||
static const char* PRODUCT_SERVICES_OVERLAY_DIR;
|
||||
static const char* ODM_OVERLAY_DIR;
|
||||
/*
|
||||
* If OVERLAY_THEME_DIR_PROPERTY is set, search for runtime resource overlay
|
||||
* APKs in VENDOR_OVERLAY_DIR/<value of OVERLAY_THEME_DIR_PROPERTY> in
|
||||
|
||||
Reference in New Issue
Block a user