diff options
author | Xin Li <delphij@google.com> | 2021-11-10 08:06:06 +0000 |
---|---|---|
committer | Xin Li <delphij@google.com> | 2021-11-10 08:06:06 +0000 |
commit | cd50f1a9eec9eef47d3493c2ac0c190c38d111f0 (patch) | |
tree | 91835e0c597ba605ca5bd11af0f12c854ae02025 | |
parent | b85335c025d3dfa4d87820cfd71c18fb339a1852 (diff) | |
parent | 4877d17d4c033b3d12fe4f9051f0ffbf778f9f20 (diff) | |
download | crosshatch-sepolicy-cd50f1a9eec9eef47d3493c2ac0c190c38d111f0.tar.gz |
Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918temp_sam_210511427temp-sc-sam
Bug: 205056467
Merged-In: I429fc56ad989b6baa87448dd2c148a84d31551b9
Change-Id: I5d832993fcd8f5e2b678d0802ca0f33747ae5e07
-rw-r--r-- | crosshatch-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/crosshatch-sepolicy.mk b/crosshatch-sepolicy.mk index 7acee6e..1262c3c 100644 --- a/crosshatch-sepolicy.mk +++ b/crosshatch-sepolicy.mk @@ -12,6 +12,9 @@ BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/ramdump/common # Pixel-wide policies BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/powerstats +# system_ext +SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += device/google/crosshatch-sepolicy/system_ext/private + # vendors for backward compatibility ifeq ($(PRODUCT_USE_QC_SPECIFIC_SYMLINKS), true) BOARD_SEPOLICY_DIRS += device/google/crosshatch-sepolicy/vendor/qcom/compat 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 |