diff options
author | Xin Li <delphij@google.com> | 2021-11-10 08:07:03 +0000 |
---|---|---|
committer | Xin Li <delphij@google.com> | 2021-11-10 08:07:03 +0000 |
commit | 84d093c690a242f3f5394f329a667e81301d4519 (patch) | |
tree | 80755940c026b3e75f40c090de058a7bcee25901 | |
parent | ab07ab083b05bacc1f617bea87bfe064d8d0302f (diff) | |
parent | 6a19b91e9db8432df9023b598e6a51876165e26c (diff) | |
download | redbull-sepolicy-temp_sam_210511427.tar.gz |
Merge sc-qpr1-dev-plus-aosp-without-vendor@7810918temp_sam_210511427temp-sc-sam
Bug: 205056467
Merged-In: I788344419e2eee44443f4e4cc342c0de11632be1
Change-Id: I5646901310b1463cd52da34fcecfcd756a18452e
-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 | ||||
-rw-r--r-- | vendor/google/hbmsvmanager_app.te | 1 |
4 files changed, 11 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 diff --git a/vendor/google/hbmsvmanager_app.te b/vendor/google/hbmsvmanager_app.te index 4bac4d1..d33136f 100644 --- a/vendor/google/hbmsvmanager_app.te +++ b/vendor/google/hbmsvmanager_app.te @@ -2,6 +2,7 @@ type hbmsvmanager_app, domain, coredomain; app_domain(hbmsvmanager_app); hal_client_domain(hbmsvmanager_app, hal_light) +hal_client_domain(hbmsvmanager_app, hal_qspmhal) allow hbmsvmanager_app hal_pixel_display_service:service_manager find; binder_call(hbmsvmanager_app, hal_graphics_composer_default) |