From 690cccbaba4802e8c8ea7c6e71be3ea941a424f7 Mon Sep 17 00:00:00 2001 From: Arian Date: Thu, 20 May 2021 20:06:39 +0200 Subject: [PATCH] sm6150-common: Decommonize lights HAL and overlays * toco and sweet don't have a notification light and since backlight control has been moved to hwc this HAL is not needed for these targets. * Keep the HAL itself in common tree so that devices which need are able to build the lights HAL which is common for all targets with a notification light. Change-Id: Ia4c3c96e49b5ce58f4f55b92a65321fb258f8975 --- .../lineage/res/res/values/config.xml | 34 ------------------- .../base/core/res/res/values/config.xml | 3 -- sm6150.mk | 4 --- 3 files changed, 41 deletions(-) diff --git a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml index 833713f..1462fb1 100644 --- a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml +++ b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml @@ -13,40 +13,6 @@ limitations under the License. --> - - 232 - true diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index bc7878c..ca1577a 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -240,9 +240,6 @@ http://www.google.com/oha/rdf/ua-profile-kila.xml - - true - diff --git a/sm6150.mk b/sm6150.mk index 78bd238..ce6b861 100644 --- a/sm6150.mk +++ b/sm6150.mk @@ -194,10 +194,6 @@ PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/security/sec_config:$(TARGET_COPY_OUT_VENDOR)/etc/sec_config -# Lights -PRODUCT_PACKAGES += \ - android.hardware.light@2.0-service.xiaomi_sm6150 - # LiveDisplay PRODUCT_PACKAGES += \ vendor.lineage.livedisplay@2.1-service.xiaomi_sm6150