Skip to content

Commit

Permalink
alioth: rootdir: Override stock vendor light HAL
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Xian <[email protected]>
  • Loading branch information
ganeshi4u authored and Laulan56 committed Aug 17, 2022
1 parent b1a5ab3 commit 4f213eb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ PRODUCT_PACKAGES_DEBUG += \
PRODUCT_PACKAGES += \
init.recovery.qcom.rc \
init.recovery.usb.rc \
init.recovery.qcom.sh
init.recovery.qcom.sh \
init.alioth.rc

# fastbootd
PRODUCT_PACKAGES += \
Expand Down
8 changes: 8 additions & 0 deletions rootdir/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,11 @@ LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.recovery.qcom.sh
LOCAL_MODULE_PATH := $(TARGET_RECOVERY_ROOT_OUT)
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := init.alioth.rc
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.alioth.rc
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/init
include $(BUILD_PREBUILT)
7 changes: 7 additions & 0 deletions rootdir/etc/init.alioth.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
service vendor.light-qti /vendor/bin/hw/android.hardware.lights-service.qti
class hal
user system
group system
shutdown critical
disabled
override

0 comments on commit 4f213eb

Please sign in to comment.