Cameraserver: Allow camera server to talk to MediaCodec am: 8db7e4a7fa

am: b1a7f25f58

Change-Id: I49ea6e35067aa54647323c707db35cf16c143122
This commit is contained in:
Shuzhen Wang 2019-01-28 08:45:31 -08:00 committed by android-build-merger
commit 53eccb65a7

View file

@ -57,6 +57,11 @@ allow cameraserver shell:fd use;
allow cameraserver shell:unix_stream_socket { read write };
allow cameraserver shell:fifo_file { read write };
# Allow to talk with media codec
allow cameraserver mediametrics_service:service_manager find;
hal_client_domain(cameraserver, hal_omx)
hal_client_domain(cameraserver, hal_allocator)
# Allow shell commands from ADB for CTS testing/dumping
userdebug_or_eng(`
allow cameraserver su:fd use;