summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/TwilightService.java
Commit message (Collapse)AuthorAgeFilesLines
* Introduce a Lifecycle for system servicesAdam Lesinski2013-12-121-572/+0
| | | | | | | | | | | | | | | | | | | 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
* Twilight alarms are now non-wakeup but exactChristopher Tate2013-07-181-1/+1
| | | | Change-Id: Iccb15065d7a0483f0bc2aff0238b94e946b8cbf1
* Fix for bug: #7173350. elapsedRealtimeNano() -> elapsedRealtimeNanos()Philip Milne2012-09-261-4/+4
| | | | Change-Id: Ie38952bbaace080e81e41e61350cda172951d548
* Revert "Fix for bug: #7173350. elapsedRealtimeNano() -> elapsedRealtimeNanos()"Philip Milne2012-09-241-1/+1
| | | | | | This reverts commit 2f6d8829524dfca3a77e9a57c3b9c3862209877d Change-Id: Id5af767a09fc319127c4ebef837c5b7a7f75cb01
* Fix for bug: #7173350. elapsedRealtimeNano() -> elapsedRealtimeNanos()Philip Milne2012-09-211-1/+1
| | | | Change-Id: I71c24ea10093ece07a0780e97bc641ff548c1a44
* Fix NPE.Jeff Brown2012-08-221-1/+6
| | | | | Bug: 7034583 Change-Id: Ie6b436492d12b0dd6bbe1c25d9b7ac35b74095d3
* Extract the twilight detection into its own service.Jeff Brown2012-08-221-0/+567
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