Merge "Allow systemui to write protolog file" into main

This commit is contained in:
Treehugger Robot 2023-12-29 11:32:37 +00:00 committed by Android (Google) Code Review
commit f64c0520fe

View file

@ -16,3 +16,10 @@ allow systemui_app statsmanager_service:service_manager find;
get_prop(systemui_app, keyguard_config_prop) get_prop(systemui_app, keyguard_config_prop)
set_prop(systemui_app, bootanim_system_prop) set_prop(systemui_app, bootanim_system_prop)
get_prop(systemui_app, qemu_hw_prop) get_prop(systemui_app, qemu_hw_prop)
# Allow writing and removing wmshell protolog in /data/misc/wmtrace.
userdebug_or_eng(`
allow systemui_app wm_trace_data_file:dir rw_dir_perms;
allow systemui_app wm_trace_data_file:file create_file_perms;
')