Allowed GCA to access EdgeTPU for P22 devices.

This change includes the google_camera_app domain
into the EdgeTPU selinux rules. With it the GCA
is now able to access EdgeTPU.

Bug: 221020793
Test: verified GCA to work on P22.
Change-Id: I69010e2a8cca1429df402ae587b939d38e20a287
This commit is contained in:
Yu-Chi Cheng 2022-02-25 12:45:09 -08:00
parent e44f3c867c
commit 172271fdbc

View file

@ -0,0 +1,3 @@
# Allows GCA to find and access the EdgeTPU.
allow google_camera_app edgetpu_app_service:service_manager find;
allow google_camera_app edgetpu_device:chr_file { getattr read write ioctl map };