diff options
author | Lucas Dupin <dupin@google.com> | 2021-08-19 23:12:30 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-08-19 23:12:30 +0000 |
commit | 6ce452ee13757c7ac373384a8e1656b06fdfe804 (patch) | |
tree | 6aac8bafa9c018fe0e058fc8690294db34884f8d | |
parent | 6886c03a541dc114a2f264c1ad2fc5c0b456fa97 (diff) | |
parent | 0711d91cf0d1d97b1b9929b36b9fca9b8661a609 (diff) | |
download | bonito-sepolicy-6ce452ee13757c7ac373384a8e1656b06fdfe804.tar.gz |
Allow boot color propagation am: 0711d91cf0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/bonito-sepolicy/+/15589978
Change-Id: I27ff3a0c15e47fa404f9e33bada8e62c5788be77
-rw-r--r-- | bonito-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/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 |