From 7bfd2a5be88ae5ee367ca00a3f9ff211c93f4afe Mon Sep 17 00:00:00 2001 From: Simon1511 Date: Thu, 21 Oct 2021 16:54:07 +0200 Subject: [PATCH] sm7125: Drop light service *Brightness is handled by display stack Change-Id: Ie816f5113bd1d110a72b4113d7d8212120f524e8 --- common.mk | 4 ---- configs/framework_compatibility_matrix.xml | 8 -------- sepolicy/vendor/file_contexts | 1 - 3 files changed, 13 deletions(-) diff --git a/common.mk b/common.mk index 433e1ad..9a6eb68 100644 --- a/common.mk +++ b/common.mk @@ -178,10 +178,6 @@ PRODUCT_PACKAGES += \ android.hardware.keymaster@4.0-service.samsung \ libkeymaster4_1support.vendor -# Light -PRODUCT_PACKAGES += \ - android.hardware.light@2.0-service.samsung - # Media PRODUCT_COPY_FILES += \ frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \ diff --git a/configs/framework_compatibility_matrix.xml b/configs/framework_compatibility_matrix.xml index 2b08031..3a3cdbb 100644 --- a/configs/framework_compatibility_matrix.xml +++ b/configs/framework_compatibility_matrix.xml @@ -153,14 +153,6 @@ default - - android.hardware.light - 2.0 - - ILight - default - - android.hardware.power diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts index 77853c8..3280a9c 100644 --- a/sepolicy/vendor/file_contexts +++ b/sepolicy/vendor/file_contexts @@ -3,7 +3,6 @@ /misc(/.*)? u:object_r:misc_file:s0 /spu(/.*)? u:object_r:spu_file:s0 -/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.samsung u:object_r:hal_light_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.drm@1\.3-service\.widevine u:object_r:vendor_hal_drm_widevine_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.sensors@2\.1-service.samsung-multihal u:object_r:hal_sensors_default_exec:s0 /(vendor|system/vendor)/bin/factory\.ssc u:object_r:factory_ssc_exec:s0