From 7e469b99411698c9b35e9af328be822e339c1ef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Kosi=C5=84ski?= Date: Mon, 22 Mar 2021 18:49:25 -0700 Subject: [PATCH] Mark libGrallocWrapper.so as same-process HAL. This library is indirectly loaded by lib_aion_buffer.so, which is an ABI-stable wrapper for some vendor-specific APIs used by GCA (the Pixel camera app) Bug: 182962346 Test: ran GCA on oriole Change-Id: Ida5171110081cac0ac13ea769f9d434499faebe6 --- whitechapel/vendor/google/file_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/whitechapel/vendor/google/file_contexts b/whitechapel/vendor/google/file_contexts index 675f90cf..539af0d3 100644 --- a/whitechapel/vendor/google/file_contexts +++ b/whitechapel/vendor/google/file_contexts @@ -174,6 +174,7 @@ /mnt/vendor/persist/camera(/.*)? u:object_r:persist_camera_file:s0 /data/vendor/camera(/.*)? u:object_r:vendor_camera_data_file:s0 /vendor/lib(64)?/lib_aion_buffer\.so u:object_r:same_process_hal_file:s0 +/vendor/lib(64)?/libGrallocWrapper\.so u:object_r:same_process_hal_file:s0 /dev/lwis-act0 u:object_r:lwis_device:s0