aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Jeong <ericjeong@google.com>2019-12-02 10:09:56 -0800
committerEric Jeong <ericjeong@google.com>2019-12-06 10:40:12 -0800
commit4c06707b5ebf8a273e96e8dfcd53843ec90cb5e6 (patch)
tree5d2b413e9145892ac41a77ebe2182384a1224a81
parentd77fec47967b415672548354ebdc2191ecab60a3 (diff)
downloadandroid_system_sepolicy-4c06707b5ebf8a273e96e8dfcd53843ec90cb5e6.tar.gz
android_system_sepolicy-4c06707b5ebf8a273e96e8dfcd53843ec90cb5e6.tar.bz2
android_system_sepolicy-4c06707b5ebf8a273e96e8dfcd53843ec90cb5e6.zip
Allow vendor_init to modify pm.dexopt.disable_bg_dexopt
- Android Auto has disabled background dexopt (b/142753051). - The modification is in car_base.mk which is included by vendor device file. - So, vendor_init needs to be able to modify pm.dexopt.disable_bg_dexopt property. Bug: 145348176 Test: Check pm.dexopt.disable_bg_dexopt is set to true in Android Auto device. Cherry-Picked-From: 03b1992d0bf363e438b0fd7efca1e2a1d7249320 Change-Id: I84d19ea62f1abe1bf9206a60ca103614616e312b
-rw-r--r--prebuilts/api/29.0/public/property_contexts1
-rw-r--r--public/property_contexts1
2 files changed, 2 insertions, 0 deletions
diff --git a/prebuilts/api/29.0/public/property_contexts b/prebuilts/api/29.0/public/property_contexts
index b5c9fc40..9f946d16 100644
--- a/prebuilts/api/29.0/public/property_contexts
+++ b/prebuilts/api/29.0/public/property_contexts
@@ -89,6 +89,7 @@ persist.sys.sf.native_mode u:object_r:exported2_system_prop:s0 exact int
pm.dexopt.ab-ota u:object_r:exported_pm_prop:s0 exact string
pm.dexopt.bg-dexopt u:object_r:exported_pm_prop:s0 exact string
pm.dexopt.boot u:object_r:exported_pm_prop:s0 exact string
+pm.dexopt.disable_bg_dexopt u:object_r:exported_pm_prop:s0 exact bool
pm.dexopt.downgrade_after_inactive_days u:object_r:exported_pm_prop:s0 exact int
pm.dexopt.first-boot u:object_r:exported_pm_prop:s0 exact string
pm.dexopt.inactive u:object_r:exported_pm_prop:s0 exact string
diff --git a/public/property_contexts b/public/property_contexts
index b5c9fc40..9f946d16 100644
--- a/public/property_contexts
+++ b/public/property_contexts
@@ -89,6 +89,7 @@ persist.sys.sf.native_mode u:object_r:exported2_system_prop:s0 exact int
pm.dexopt.ab-ota u:object_r:exported_pm_prop:s0 exact string
pm.dexopt.bg-dexopt u:object_r:exported_pm_prop:s0 exact string
pm.dexopt.boot u:object_r:exported_pm_prop:s0 exact string
+pm.dexopt.disable_bg_dexopt u:object_r:exported_pm_prop:s0 exact bool
pm.dexopt.downgrade_after_inactive_days u:object_r:exported_pm_prop:s0 exact int
pm.dexopt.first-boot u:object_r:exported_pm_prop:s0 exact string
pm.dexopt.inactive u:object_r:exported_pm_prop:s0 exact string