summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2021-12-13 21:36:44 -0800
committerXin Li <delphij@google.com>2021-12-14 08:38:57 -0800
commitca4ec87e4ab53d383da852f6fbd51fd89f161020 (patch)
tree25142c8aeec89413dfea956505f06271d2ad5eea
parent25bf6fd54115a9ea8f81258fc59f7fbc3d4dbf6f (diff)
parentd02b56128a1f9821934a5f2377704f2faaa3f9a1 (diff)
downloadbonito-sepolicy-android-t-preview-1.tar.gz
Bug: 210511427 Merged-In: I4517f8cd3491de8bbc11cc57512220bc9a18b3c5 Change-Id: Ifbf8e03d0302f3b019fc370866da553200be0411
-rw-r--r--bonito-sepolicy.mk3
-rw-r--r--system_ext/private/platform_app.te2
-rw-r--r--system_ext/private/property_contexts5
3 files changed, 10 insertions, 0 deletions
diff --git a/bonito-sepolicy.mk b/bonito-sepolicy.mk
index 6765e0c4..b64d847b 100644
--- a/bonito-sepolicy.mk
+++ b/bonito-sepolicy.mk
@@ -8,6 +8,9 @@ BOARD_VENDOR_SEPOLICY_DIRS += device/google/bonito-sepolicy/vendor/google
BOARD_VENDOR_SEPOLICY_DIRS += device/google/bonito-sepolicy/vendor/verizon
BOARD_VENDOR_SEPOLICY_DIRS += device/google/bonito-sepolicy/tracking_denials
+# system_ext
+SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += device/google/bonito-sepolicy/system_ext/private
+
# Pixel-wide policy
BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/ramdump/common
BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/powerstats
diff --git a/system_ext/private/platform_app.te b/system_ext/private/platform_app.te
new file mode 100644
index 00000000..10d6bba9
--- /dev/null
+++ b/system_ext/private/platform_app.te
@@ -0,0 +1,2 @@
+# allow systemui to set boot animation colors
+set_prop(platform_app, bootanim_system_prop);
diff --git a/system_ext/private/property_contexts b/system_ext/private/property_contexts
new file mode 100644
index 00000000..abcdd419
--- /dev/null
+++ b/system_ext/private/property_contexts
@@ -0,0 +1,5 @@
+# Boot animation dynamic colors
+persist.bootanim.color1 u:object_r:bootanim_system_prop:s0 exact int
+persist.bootanim.color2 u:object_r:bootanim_system_prop:s0 exact int
+persist.bootanim.color3 u:object_r:bootanim_system_prop:s0 exact int
+persist.bootanim.color4 u:object_r:bootanim_system_prop:s0 exact int