sepolicy: gs101: display: fix dumpstate of displaycolor

displaycolor service runs in HW Composer. This change allow displaycolor
to output to dumpstate via pipe fd.

Bug: 189846843
Test: adb bugreport and check displaycolor dump in dumpstate_board.txt
Change-Id: I109db9374124caf9053a9fd7ba6159f83c372038
This commit is contained in:
Long Ling 2021-06-06 22:18:37 -07:00
parent 9cfc661bee
commit 1064df0f26
2 changed files with 4 additions and 3 deletions

View file

@ -36,3 +36,7 @@ get_prop(hal_graphics_composer_default, boot_status_prop);
# allow HWC to access vendor log file
allow hal_graphics_composer_default vendor_log_file:file create_file_perms;
# allow HWC to output to dumpstate via pipe fd
allow hal_graphics_composer_default hal_dumpstate_default:fifo_file { append write };
allow hal_graphics_composer_default hal_dumpstate_default:fd use;

View file

@ -1,3 +0,0 @@
# b/185723492
dontaudit hal_graphics_composer_default hal_dumpstate_default:fd { use };
dontaudit hal_graphics_composer_default hal_dumpstate_default:fd { use };