Skip to content
Snippets Groups Projects
Commit 77c7d6fa authored by Yin-Chia Yeh's avatar Yin-Chia Yeh
Browse files

hal_camera: Allow writing dump info into pipes

So dumpsys media.camera can do hal dump without root.

Bug: 72261676
Change-Id: Ic7325418bc2ee5dbb005430135f1ccc88b418e8c
parent e091dc90
No related branches found
No related tags found
No related merge requests found
...@@ -18,6 +18,10 @@ allow hal_camera { appdomain -isolated_app }:fd use; ...@@ -18,6 +18,10 @@ allow hal_camera { appdomain -isolated_app }:fd use;
allow hal_camera surfaceflinger:fd use; allow hal_camera surfaceflinger:fd use;
allow hal_camera hal_allocator_server:fd use; allow hal_camera hal_allocator_server:fd use;
# Needed to provide debug dump output via dumpsys' pipes.
allow hal_camera shell:fd use;
allow hal_camera shell:fifo_file write;
### ###
### neverallow rules ### neverallow rules
### ###
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment