land: Set up low power modes on recovery

Change-Id: I3f79b5277936e4d3f0b5c0b134ea4211ab3cf920
This commit is contained in:
Zhao Wei Liew 2016-11-11 06:57:07 +08:00
parent 1db73983eb
commit f0906fbf4c
3 changed files with 12 additions and 0 deletions

View file

@ -6,4 +6,5 @@ PRODUCT_PACKAGES += \
fstab.qcom \
init.qcom.rc \
init.qcom.sh \
init.recovery.qcom.rc \
ueventd.qcom.rc

View file

@ -50,6 +50,14 @@ LOCAL_SRC_FILES := init.qcom.usb.sh
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := init.recovery.qcom.rc
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := init.qcom.power.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := ueventd.qcom.rc
LOCAL_MODULE_TAGS := optional eng

View file

@ -136,3 +136,6 @@ on class_start:late_start
on charger
trigger enable-low-power
on property:init.svc.recovery=running
trigger enable-low-power