fix platform_app property access

Bug: 205073024
Test: boot with no relevant error log
Change-Id: Ia230b025b89981ed797c95cdf76fe7efd56d3fa7
This commit is contained in:
Adam Shih 2021-11-05 11:13:30 +08:00
parent 64af79f39a
commit 4c9dd893b8
3 changed files with 11 additions and 6 deletions

View file

@ -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

View file

@ -1,8 +1,2 @@
# b/204718221
dontaudit platform_app touch_service:service_manager { find };
# b/205073024
dontaudit platform_app default_prop:property_service { set };
dontaudit platform_app fingerprint_ghbm_prop:file { getattr };
dontaudit platform_app fingerprint_ghbm_prop:file { map };
dontaudit platform_app fingerprint_ghbm_prop:file { open };
dontaudit platform_app fingerprint_ghbm_prop:file { read };

View file

@ -1,2 +1,8 @@
allow platform_app hal_pixel_display_service:service_manager find;
allow platform_app hal_wlc_hwservice:hwservice_manager find;
# Fingerprint (UDFPS) GHBM/LHBM toggle
get_prop(platform_app, fingerprint_ghbm_prop)
# allow systemui to set boot animation colors
set_prop(platform_app, bootanim_system_prop);