diff --git a/public/hal_dumpstate.te b/public/hal_dumpstate.te index 3312b0ad35fec3675374b1c45dbcf4f4f2cc9d3d..7884e38fd6f3bb75ca5f93c342006b9aed70a121 100644 --- a/public/hal_dumpstate.te +++ b/public/hal_dumpstate.te @@ -3,3 +3,6 @@ hwbinder_use(hal_dumpstate) # call into dumpstate process (callbacks) binder_call(hal_dumpstate, dumpstate) + +# write bug reports in /data/data/com.android.shell/files/bugreports/bugreport +allow hal_dumpstate shell_data_file:file write;