Skip to content

Commit

Permalink
pissarro: lights: remove lights
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik-91 committed Oct 9, 2022
1 parent 51fc965 commit d027f02
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 345 deletions.
8 changes: 0 additions & 8 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,3 @@ $(VENDOR_SYMLINKS): $(LOCAL_INSTALLED_MODULE)
ALL_DEFAULT_INSTALLED_MODULES += $(VENDOR_SYMLINKS)
endif

include $(CLEAR_VARS)

LIGHT_REPLACEMENT += $(TARGET_OUT_PRODUCT)/vendor_overlay/${PRODUCT_TARGET_VNDK_VERSION}/bin/hw/android.hardware.lights-service.mediatek
$(LIGHT_REPLACEMENT): $(LOCAL_INSTALLED_MODULE)
@mkdir -p $(dir $@)
$(hide) ln -s /system/bin/hw/$(notdir $@) $@

ALL_DEFAULT_INSTALLED_MODULES += $(LIGHT_REPLACEMENT)
6 changes: 3 additions & 3 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ PRODUCT_PLATFORM := mt6877
BUILD_BROKEN_DUP_RULES := true
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true

# Debug
TARGET_FORCE_RO_DEBUGGABLE := true

# Filesystem
TARGET_FS_CONFIG_GEN := $(DEVICE_PATH)/config.fs

Expand Down Expand Up @@ -162,6 +165,3 @@ ENABLE_VENDOR_RIL_SERVICE := true
# Security patch level
VENDOR_SECURITY_PATCH := 2021-11-05

SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/private
TARGET_USES_PREBUILT_VENDOR_SEPOLICY := true
TARGET_HAS_FUSEBLK_SEPOLICY_ON_VENDOR := true
7 changes: 1 addition & 6 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,7 @@ PRODUCT_BUILD_SUPER_PARTITION := false

# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
$(LOCAL_PATH)/overlay-lineage

# Lights
PRODUCT_PACKAGES += \
android.hardware.lights-service.xiaomi_mt6877
$(LOCAL_PATH)/overlay

# Properties
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.adb.secure.recovery=0
Expand Down
14 changes: 0 additions & 14 deletions lights/Android.bp

This file was deleted.

203 changes: 0 additions & 203 deletions lights/Lights.cpp

This file was deleted.

61 changes: 0 additions & 61 deletions lights/Lights.h

This file was deleted.

35 changes: 0 additions & 35 deletions lights/main.cpp

This file was deleted.

7 changes: 0 additions & 7 deletions sepolicy/private/file_contexts

This file was deleted.

8 changes: 0 additions & 8 deletions sepolicy/private/init.te

This file was deleted.

0 comments on commit d027f02

Please sign in to comment.