summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2015-04-10 20:15:01 -0700
committerJeff Brown <jeffbrown@google.com>2015-04-13 01:51:22 -0700
commit5d6443bf7c087167e47ea39b13e6af09cb43ad97 (patch)
tree0415e23f50ea376a96c4b28df732a238bc435f07 /Android.mk
parent834a91dda7724974fbd93bc65b9dd7178edddcdd (diff)
downloadframeworks_base-5d6443bf7c087167e47ea39b13e6af09cb43ad97.zip
frameworks_base-5d6443bf7c087167e47ea39b13e6af09cb43ad97.tar.gz
frameworks_base-5d6443bf7c087167e47ea39b13e6af09cb43ad97.tar.bz2
Set initial screen brightness earlier in the boot process.
Previously we had to wait for systemReady before setting the brightness due to the order in which the display power controller was initialized. Unfortunately it could take us a rather long time to reach that stage, particularly after an OTA where the screen would remain at maximum brightness for minutes while "Optimizing Apps". This change moves the brightness backlight setting code deeper into the display manager which has a couple of nice side-benefits in that it now becomes much easier to coordinate display power mode changes with display backlight changes. So this change also resolves some issued with changing the backlight while in DOZE_SUSPEND and ensuring that backlight changes generally end up being performed before executing a power mode change except in the case where the display needs to come out of suspend first. (So now the backlight will be set before entering DOZE from the ON state.) Deleted some dead code in LightService which was in the way. Bug: 19029490 Change-Id: I494b5223e676248daf2ff8be3ec338845977f73c
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 3e049f7..f4b9551 100644
--- a/Android.mk
+++ b/Android.mk
@@ -195,7 +195,6 @@ LOCAL_SRC_FILES += \
core/java/android/os/IBatteryPropertiesListener.aidl \
core/java/android/os/IBatteryPropertiesRegistrar.aidl \
core/java/android/os/ICancellationSignal.aidl \
- core/java/android/os/IHardwareService.aidl \
core/java/android/os/IMessenger.aidl \
core/java/android/os/INetworkActivityListener.aidl \
core/java/android/os/INetworkManagementService.aidl \