diff --git a/private/system_server.te b/private/system_server.te index e2b57204f..2017dac57 100644 --- a/private/system_server.te +++ b/private/system_server.te @@ -642,9 +642,9 @@ userdebug_or_eng(` # Allow system server to read dmesg allow system_server kernel:system syslog_read; - # Allow writing window traces in /data/misc/wmtrace. + # Allow writing and removing window traces in /data/misc/wmtrace. allow system_server wm_trace_data_file:dir rw_dir_perms; - allow system_server wm_trace_data_file:file { getattr setattr create w_file_perms }; + allow system_server wm_trace_data_file:file { getattr setattr create unlink w_file_perms }; ') # For AppFuse.