aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2019-07-15 16:43:26 -0700
committerDavide Garberi <dade.garberi@gmail.com>2023-08-03 11:45:45 +0200
commit4397c22a34d5f1c2de70f5810f6484d707ef34b1 (patch)
treebbf11633dedab2e520146bba5f1a4876a109daeb
parente8a89eab3b00cb1758698c99826bb16662dd03d1 (diff)
msm8996-common: Replace BOARD_CHARGER_DISABLE_INIT_BLANK with ro.charger.disable_init_blank
Test: charger mode Bug: 124118169 Change-Id: I3825d08e38d677bd7154879609857de302348b6f
-rw-r--r--BoardConfigCommon.mk3
-rw-r--r--vendor_prop.mk1
2 files changed, 1 insertions, 3 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index 262de81..15a627e 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -102,9 +102,6 @@ TARGET_SUPPORT_HAL1 := false
TARGET_USES_MEDIA_EXTENSIONS := true
DEVICE_SPECIFIC_CAMERA_PATH := $(VENDOR_PATH)/camera
-# Charger
-BOARD_CHARGER_DISABLE_INIT_BLANK := true
-
# Display
TARGET_USES_C2D_COMPOSITION := true
TARGET_USES_GRALLOC1 := true
diff --git a/vendor_prop.mk b/vendor_prop.mk
index 9d0e36a..de41484 100644
--- a/vendor_prop.mk
+++ b/vendor_prop.mk
@@ -64,6 +64,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
# Charger
PRODUCT_PRODUCT_PROPERTIES += \
+ ro.charger.disable_init_blank=true \
ro.charger.enable_suspend=true
# Chipset