From 36ade45b1bfb69272d6a2f190ef5570d4da9310a Mon Sep 17 00:00:00 2001 From: Greg Wallace Date: Sun, 8 Nov 2015 13:54:25 -0500 Subject: Add default brightness control This lets user set the default brightness so user doesn't cook their phone on first boot or loss of settings file, while still maintaining the ability to turn brightness to max if desired. Change-Id: Ia801fba46014335148ec573a0b0bbdf0a3ca60ae --- Android.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk index c57e8dc10..059879687 100644 --- a/Android.mk +++ b/Android.mk @@ -299,6 +299,9 @@ endif ifneq ($(TW_MAX_BRIGHTNESS),) LOCAL_CFLAGS += -DTW_MAX_BRIGHTNESS=$(TW_MAX_BRIGHTNESS) endif +ifneq ($(TW_DEFAULT_BRIGHTNESS),) + LOCAL_CFLAGS += -DTW_DEFAULT_BRIGHTNESS=$(TW_DEFAULT_BRIGHTNESS) +endif ifneq ($(TW_CUSTOM_BATTERY_PATH),) LOCAL_CFLAGS += -DTW_CUSTOM_BATTERY_PATH=$(TW_CUSTOM_BATTERY_PATH) endif -- cgit v1.2.3