Merge "Grant BetterBug access ot WM traces attributes" am: 53b6de0642 am: 2c95edf2af

Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1903230

Change-Id: Ic6974893a0ade14912dc0fc037777c9a86663572
This commit is contained in:
Treehugger Robot 2021-11-29 19:11:27 +00:00 committed by Automerger Merge Worker
commit af4b21ef5b

View file

@ -79,6 +79,8 @@ userdebug_or_eng(`
# usual bugreport .zip file). This is used by the bug reporting UI to tell if
# the bugreport will contain a system trace or not while the bugreport is still
# in progress.
allow priv_app wm_trace_data_file:dir r_dir_perms;
allow priv_app wm_trace_data_file:file getattr;
allow priv_app perfetto_traces_bugreport_data_file:dir r_dir_perms;
allow priv_app perfetto_traces_bugreport_data_file:file { getattr };
# Required to traverse the parent dir (/data/misc/perfetto-traces).