From 4696056f3c9cc2197dc8aca46b6196ea28f56608 Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Mon, 15 Jul 2019 16:43:26 -0700 Subject: [PATCH] davinci: Replace BOARD_CHARGER_ENABLE_SUSPEND with ro.charger.enable_suspend Test: charger mode Bug: 124118169 Change-Id: I3825d08e38d677bd7154879609857de302348b6f --- BoardConfig.mk | 3 --- system.prop | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 8f7227c..da6f36b 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -68,9 +68,6 @@ TARGET_NO_BOOTLOADER := true # Camera TARGET_USES_QTI_CAMERA_DEVICE := true -# Charger -BOARD_CHARGER_ENABLE_SUSPEND := true - # Display TARGET_HAS_HDR_DISPLAY := true TARGET_HAS_WIDE_COLOR_DISPLAY := true diff --git a/system.prop b/system.prop index efad7e3..b16567c 100644 --- a/system.prop +++ b/system.prop @@ -5,6 +5,9 @@ vendor.bluetooth.soc=cherokee persist.camera.gyro.disable=0 vendor.camera.aux.packagelist=org.codeaurora.snapcam,com.android.camera,org.lineageos.snap +# Charger +ro.charger.enable_suspend=true + # CNE persist.vendor.cne.feature=1