Allow systemui_app to set property.

This is to fix the denied log.
01-23 15:58:26.896     1     1 W /system/bin/init: type=1107 audit(0.0:17): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc:  denied  { set } for property=debug.touch_sensitivity_mode pid=2123 uid=10237 gid=10237 scontext=u:r:systemui_app:s0:c237,c256,c512,c768 tcontext=u:object_r:debug_prop:s0 tclass=property_service permissive=0'

Bug: 309912697
Test: Setting property was successful.
Change-Id: Id841d2d45de8d8d57366faf71f5ee60da74ce111
Signed-off-by: Mark Chang <changmark@google.com>
This commit is contained in:
Mark Chang 2024-01-23 12:01:49 +00:00
parent 52ef38dcf1
commit b434a0ecf2

View file

@ -18,6 +18,7 @@ allow systemui_app adb_service:service_manager find;
get_prop(systemui_app, keyguard_config_prop)
set_prop(systemui_app, bootanim_system_prop)
get_prop(systemui_app, qemu_hw_prop)
set_prop(systemui_app, debug_prop)
# Allow writing and removing wmshell protolog in /data/misc/wmtrace.
userdebug_or_eng(`