summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2019-07-15 16:43:26 -0700
committerMichael Bestas <mkbestas@lineageos.org>2020-12-18 22:40:33 +0200
commitf5ec906ea2d044326d55642cb9376ebb522a62dc (patch)
tree0562ac6316993cffe34fb81fcd686089fd1b17ad
parentacca3e2362ac52bff44f821e624e70a2bb7f82aa (diff)
sdm660-common: Replace BOARD_CHARGER_ENABLE_SUSPEND with ro.charger.enable_suspend
Test: charger mode Bug: 124118169 Change-Id: I3825d08e38d677bd7154879609857de302348b6f
-rw-r--r--BoardConfigCommon.mk1
-rw-r--r--properties.mk4
2 files changed, 4 insertions, 1 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index d2fdc6a..62127df 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -90,7 +90,6 @@ TARGET_FWK_SUPPORTS_FULL_VALUEADDS := true
TARGET_USES_QTI_CAMERA_DEVICE := true
# Charger
-BOARD_CHARGER_ENABLE_SUSPEND := true
BOARD_CHARGER_DISABLE_INIT_BLANK := true
# CNE and DPM
diff --git a/properties.mk b/properties.mk
index 8b710d3..cd1d215 100644
--- a/properties.mk
+++ b/properties.mk
@@ -105,6 +105,10 @@ PRODUCT_PROPERTY_OVERRIDES += \
vendor.video.disable.ubwc=1 \
vidc.enc.dcvs.extra-buff-count=2
+# Charger
+PRODUCT_PRODUCT_PROPERTIES += \
+ ro.charger.enable_suspend=true
+
# CNE
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
persist.vendor.cne.feature=1