summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Lin <danny@kdrag0n.dev>2020-11-03 22:47:28 -0800
committeralk3pInjection <webmaster@raspii.tech>2022-03-03 13:57:18 +0800
commit79aeca0d0fc1d4064156660c76d61367a87eba24 (patch)
treee8f3eb816781942166fa14d552fc71b52c912829
parent92a8b3295b3b12440a351f6c29bc424ae659e3dd (diff)
ice: Build simple DeviceConfig provisioning service
We need a simple service to provision DeviceConfig for setting various config defaults, like enabling permission hub, without modifying the AOSP source code directly. Build our custom service to do the provisioning from resource overlay values instead. Change-Id: Id2910d799b503c339f56e7f92a5e5f3ba93a5296
-rw-r--r--overlay/ICEFrameworksOverlay/res/values/config.xml3
-rw-r--r--target/product/packages.mk1
2 files changed, 4 insertions, 0 deletions
diff --git a/overlay/ICEFrameworksOverlay/res/values/config.xml b/overlay/ICEFrameworksOverlay/res/values/config.xml
index dfcab59..7438409 100644
--- a/overlay/ICEFrameworksOverlay/res/values/config.xml
+++ b/overlay/ICEFrameworksOverlay/res/values/config.xml
@@ -109,4 +109,7 @@
<!-- Set this to true to enable the platform's auto-power-save modes
like doze and app standby. -->
<bool name="config_enableAutoPowerModes">true</bool>
+
+ <!-- Flag indicating which package name can access DeviceConfig table -->
+ <string name="config_deviceConfiguratorPackageName" translatable="false">org.protonaosp.deviceconfig</string>
</resources>
diff --git a/target/product/packages.mk b/target/product/packages.mk
index 5235bfc..00393c5 100644
--- a/target/product/packages.mk
+++ b/target/product/packages.mk
@@ -16,6 +16,7 @@
# Additional apps
PRODUCT_PACKAGES += \
+ SimpleDeviceConfig \
ThemePicker
# HIDL