908b86c796443ba4ec55c669e8a0297fc80574a6 |
|
08-Aug-2016 |
Justin Klaassen <justinklaassen@google.com> |
TwilightService v2.0 - Switched to using CalendarAstronomer for more accurate sunrise/sunset times. - Exposed sunrise/sunset times via TwilightState so that clients can track the current twilight period and perform their own interpolations. - Adopted LocationRequest API for fused location updates: (low power, min 1h, max 10m). - TwilightService is now only activated when a listener is registered, minimizing impact to system health on platforms / configurations where twilight state is not needed. Bug: 28588307 Bug: 30190450 Bug: 30282370 Bug: 30650316 Change-Id: Ic5c94d8608e8bb3a3d895e623676a1468d4abdcd
/frameworks/base/services/core/java/com/android/server/twilight/TwilightState.java
|
6384878d69d3deb4a7c314f611ee62a634f21411 |
|
12-Jul-2016 |
Justin Klaassen <justinklaassen@google.com> |
Cleanup TwilightService TwilightService now just reports the current twilight state, it's up to clients to provide their own locking mechanism (e.g. always day or night). Bug: 29620105 Change-Id: I2a8bb544eab0f44d269c59f36a53fbdf842b423a
/frameworks/base/services/core/java/com/android/server/twilight/TwilightState.java
|
5dbd4aad809e6fec51df62280bcc1bfe05cc7df5 |
|
07-Feb-2016 |
Jason Monk <jmonk@google.com> |
SysUI Tuner: Night mode v3 TwilightService: - Add support for locking on/off twilight globally - Change twilight state to have float amount rather than having clients calculate it using the sunrise/set values - State controlled through secure setting - Override mode which locks to a state for a couple hours then resets - Add broadcast for SysUI to listen to Brightness/Power: - Updates to handle TwilightService changes - Added secure setting to control whether or not to use twilight when calculating brightness. Tuner: - UI Overhall - NightModeController will set the values of the custom color matrix taking into account the current twilight service state and any custom calibration set by the user. - Probably other stuff. Change-Id: I213f1f76a143e711c507b2ba7d784f581bfc32b4
/frameworks/base/services/core/java/com/android/server/twilight/TwilightState.java
|
9158825f9c41869689d6b1786d7c7aa8bdd524ce |
|
22-Nov-2013 |
Amith Yamasani <yamasani@google.com> |
Move some system services to separate directories Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
/frameworks/base/services/core/java/com/android/server/twilight/TwilightState.java
|