From a700e32f0c30055a708091ef58ab33b35b8da4f7 Mon Sep 17 00:00:00 2001 From: thepriyanshujangid Date: Wed, 1 May 2024 20:23:26 +0530 Subject: [PATCH] stone: sepolicy: Import missing adress for `Leica Camera` Signed-off-by: Arijit78 --- sepolicy/vendor/hal_camera_default.te | 2 ++ sepolicy/vendor/hwservice_contexts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sepolicy/vendor/hal_camera_default.te b/sepolicy/vendor/hal_camera_default.te index 30e9175..a63d9e3 100644 --- a/sepolicy/vendor/hal_camera_default.te +++ b/sepolicy/vendor/hal_camera_default.te @@ -15,6 +15,8 @@ add_hwservice(hal_camera_server, vendor_hal_camerapostproc_xiaomi_hwservice) allow hal_camera_client vendor_hal_cameraperf_hwservice:hwservice_manager find; allow hal_camera_client vendor_hal_camerapostproc_xiaomi_hwservice:hwservice_manager find; +add_hwservice(hal_camera_default, hal_xiaomi_camera_hwservice) + allow hal_camera_default platform_app:binder { call transfer }; allow hal_camera_default priv_app:binder { call transfer }; diff --git a/sepolicy/vendor/hwservice_contexts b/sepolicy/vendor/hwservice_contexts index 823ebb5..10dd085 100644 --- a/sepolicy/vendor/hwservice_contexts +++ b/sepolicy/vendor/hwservice_contexts @@ -1,6 +1,6 @@ # Camera vendor.xiaomi.hardware.cameraperf::IMiCameraPerfService u:object_r:vendor_hal_cameraperf_hwservice:s0 -vendor.xiaomi.hardware.campostproc::IMiPostProcService u:object_r:vendor_hal_camerapostproc_xiaomi_hwservice:s0 +vendor.xiaomi.hardware.campostproc::IMiPostProcService u:object_r:hal_xiaomi_camera_hwservice:s0 # Fingerprint com.fingerprints.extension::IFingerprintSensorTest u:object_r:hal_fingerprint_hwservice:s0