summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/TwilightService.java
AgeCommit message (Collapse)Author
2013-12-12Introduce a Lifecycle for system servicesAdam Lesinski
Cherry-picked from klp-modular-dev Provide an abstract class for system services to extend from, similar to the android.app.Service. This will allow services to receive events in a uniform way, and will allow services to be created and started in the correct order regardless of whether or not a particular service exists. Similar to android.app.Service, services are meant to implement Binder interfaces as inner classes. This prevents services from having incestuous access to each other and makes them use the public API. Change-Id: Iaacfee8d5f080a28d7cc606761f4624673ed390f
2013-07-18Twilight alarms are now non-wakeup but exactChristopher Tate
Change-Id: Iccb15065d7a0483f0bc2aff0238b94e946b8cbf1
2012-09-26Fix for bug: #7173350. elapsedRealtimeNano() -> elapsedRealtimeNanos()Philip Milne
Change-Id: Ie38952bbaace080e81e41e61350cda172951d548
2012-09-24Revert "Fix for bug: #7173350. elapsedRealtimeNano() -> elapsedRealtimeNanos()"Philip Milne
This reverts commit 2f6d8829524dfca3a77e9a57c3b9c3862209877d Change-Id: Id5af767a09fc319127c4ebef837c5b7a7f75cb01
2012-09-21Fix for bug: #7173350. elapsedRealtimeNano() -> elapsedRealtimeNanos()Philip Milne
Change-Id: I71c24ea10093ece07a0780e97bc641ff548c1a44
2012-08-22Fix NPE.Jeff Brown
Bug: 7034583 Change-Id: Ie6b436492d12b0dd6bbe1c25d9b7ac35b74095d3
2012-08-22Extract the twilight detection into its own service.Jeff Brown
Moving the detection out of UiModeManagerService will make it easy for other services to register for the information. Fixed a bugs related to updating twilight state when the time is updated. We're using the same algorithm as before for passively tracking the location. Ideally we should update it to use the new location manager features for low-power location requests. Change-Id: I520c53b9946ab6f8d994587d357fd6542c300c07