From 2118dfb684cb49da4047e5f698d6db83bcf2d2cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Kosi=C5=84ski?= Date: Fri, 14 Oct 2022 13:48:36 +0000 Subject: [PATCH] Use generic wildcard for vendor libprotobuf. The suffix changes on each upgrade and the newest release uses a two-part version number instead of a three-part one. Use a regex that will match any suffix. Bug: 203713560 Test: presubmit, log check Change-Id: I27d7bd10e469b794226fe0c77b02c57d876729b1 --- whitechapel/vendor/google/file_contexts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whitechapel/vendor/google/file_contexts b/whitechapel/vendor/google/file_contexts index 1bedda99..e813af5a 100644 --- a/whitechapel/vendor/google/file_contexts +++ b/whitechapel/vendor/google/file_contexts @@ -429,7 +429,7 @@ # Statsd service to support EdgeTPU metrics logging service. /vendor/lib64/android\.frameworks\.stats-V1-ndk\.so u:object_r:same_process_hal_file:s0 /vendor/lib64/vendor-pixelatoms-cpp\.so u:object_r:same_process_hal_file:s0 -/vendor/lib64/libprotobuf-cpp-lite-3\.9\.1\.so u:object_r:same_process_hal_file:s0 +/vendor/lib64/libprotobuf-cpp-lite-(\d+\.){2,3}so u:object_r:same_process_hal_file:s0 # Raw HID device /dev/hidraw[0-9]* u:object_r:hidraw_device:s0