diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2021-08-19 23:12:38 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-08-19 23:12:38 +0000 |
commit | c789860882eb8a53bf861dc24d8d9cc9feee5876 (patch) | |
tree | 241e6eae94ceeed8c19ed456313aea6317245a48 | |
parent | d618d84d0ff8196451edce137dc5c186ddbb4268 (diff) | |
parent | 555ab5abc943a1db1660dd721241dbe34ad47808 (diff) | |
download | redbull-sepolicy-c789860882eb8a53bf861dc24d8d9cc9feee5876.tar.gz |
Merge "Allow boot color propagation" into sc-qpr1-dev am: 555ab5abc9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redbull-sepolicy/+/15590644
Change-Id: I2f4638385d1d973d9adbce37d4d212a6a71e4d3d
-rw-r--r-- | redbull-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/redbull-sepolicy.mk b/redbull-sepolicy.mk index ccfd550..7dbdf9a 100644 --- a/redbull-sepolicy.mk +++ b/redbull-sepolicy.mk @@ -12,3 +12,6 @@ BOARD_SEPOLICY_DIRS += device/google/redbull-sepolicy/vendor/verizon # Pixel-wide sepolicy BOARD_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/wifi_sniffer BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/powerstats + +# system_ext +SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += device/google/redbull-sepolicy/system_ext/private 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 |