diff options
author | Lucas Dupin <dupin@google.com> | 2021-08-19 23:12:31 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-08-19 23:12:31 +0000 |
commit | 377396d1de5ae87c232d9fc4bb32b7a991ce9d19 (patch) | |
tree | e8a97b2bcd8decd7262502e456f4d6683d9eba86 | |
parent | c4d853bc6568bd2d2c9b1646fde9443baf93ffed (diff) | |
parent | 3f2219c687861ae7cd3826b88cb2447fd24db988 (diff) | |
download | sunfish-sepolicy-377396d1de5ae87c232d9fc4bb32b7a991ce9d19.tar.gz |
Allow boot color propagation am: 3f2219c687
Original change: https://googleplex-android-review.googlesource.com/c/device/google/sunfish-sepolicy/+/15590961
Change-Id: I4e2518a13ef1f2823b94859cc2675ca59d6164fe
-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 |