From 507ac078167b7a52397d57c4d8bfbd7b05025871 Mon Sep 17 00:00:00 2001 From: Jan Altensen Date: Thu, 23 Apr 2020 21:03:00 +0200 Subject: [PATCH] fix brightness Change-Id: I0cd80c51e993e83e88ab198cf6b25c6cd82a957a --- BoardConfig.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index a5ad363..a880d66 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -109,15 +109,15 @@ BOARD_HAS_NO_SELECT_BUTTON := true BOARD_HAS_NO_REAL_SDCARD := true RECOVERY_SDCARD_ON_DATA := true TARGET_RECOVERY_QCOM_RTC_FIX := true -TW_BRIGHTNESS_PATH := "/sys/class/backlight/panel0-backlight/brightness" +TW_BRIGHTNESS_PATH := "/sys/devices/platform/148e0000.dsim/brightness" TW_EXCLUDE_DEFAULT_USB_INIT := true TW_EXCLUDE_SUPERSU := true TW_EXTRA_LANGUAGES := true TW_INCLUDE_NTFS_3G := true AB_OTA_UPDATER := true TW_INPUT_BLACKLIST := "hbtp_vm" -TW_MAX_BRIGHTNESS := 1023 -TW_DEFAULT_BRIGHTNESS := 420 +TW_MAX_BRIGHTNESS := 255 +TW_DEFAULT_BRIGHTNESS := 163 TW_Y_OFFSET := 80 TW_H_OFFSET := -80 TW_THEME := portrait_hdpi -- 2.20.1