diff options
author | Lucas Dupin <dupin@google.com> | 2021-08-11 19:57:41 -0700 |
---|---|---|
committer | Lucas Dupin <dupin@google.com> | 2021-08-17 20:13:15 +0000 |
commit | 3f2219c687861ae7cd3826b88cb2447fd24db988 (patch) | |
tree | de4dfa81f3af2388006c0c3784fa4afb3571a366 | |
parent | 1581326a313f568a44b01f5abd90223d80737e03 (diff) | |
download | sunfish-sepolicy-3f2219c687861ae7cd3826b88cb2447fd24db988.tar.gz |
Allow boot color propagation
Allows SystemUI to write the boot color sysprop
Test: manual
Bug: 190093578
Change-Id: I7cf744b15a3810946a13adead517402b16509319
Merged-In: I7cf744b15a3810946a13adead517402b16509319
-rw-r--r-- | sunfish-sepolicy.mk | 3 | ||||
-rw-r--r-- | system_ext/private/platform_app.te | 2 | ||||
-rw-r--r-- | system_ext/private/property_contexts | 5 |
3 files changed, 10 insertions, 0 deletions
diff --git a/sunfish-sepolicy.mk b/sunfish-sepolicy.mk index 17abc57..d408696 100644 --- a/sunfish-sepolicy.mk +++ b/sunfish-sepolicy.mk @@ -9,6 +9,9 @@ BOARD_SEPOLICY_DIRS += device/google/sunfish-sepolicy/tracking_denials BOARD_SEPOLICY_DIRS += device/google/sunfish-sepolicy/vendor/st BOARD_SEPOLICY_DIRS += device/google/sunfish-sepolicy/vendor/verizon +# system_ext +SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += device/google/sunfish-sepolicy/system_ext/private + # Pixel-wide sepolicy BOARD_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/wifi_sniffer 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 0000000..10d6bba --- /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 0000000..abcdd41 --- /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 |