OSDN Git Service

Idle maintenance scheduling broken.
authorSvetoslav <svetoslavganov@google.com>
Fri, 3 May 2013 18:24:26 +0000 (11:24 -0700)
committerSvetoslav <svetoslavganov@google.com>
Fri, 3 May 2013 21:03:06 +0000 (14:03 -0700)
commit6a08a12b8e8ef6fa04932c7a1c5255e3f158a3c8
treef7995a3cce7ac5cb68f1355555d94536ad632835
parent48f2b548edf8e276cc89d2c4c2d2936cde46fc95
Idle maintenance scheduling broken.

1. The scheduling was relying on receiving battery level broadcasts
   which however are not sent if the device is asleep. The maintenance
   window was not bound and we could miss a frame if the user did
   not interact the device longer than the min time between two
   maintenance windows.

2. Hide the idle maintenance intents since this will be rewritten
   to user services.

bug:8688454

Change-Id: I17b421b09823cb46ec218cabda19e02432d94f8c
api/current.txt
core/java/android/content/Intent.java
services/java/com/android/server/BatteryService.java
services/java/com/android/server/IdleMaintenanceService.java
services/java/com/android/server/SystemServer.java