diff options
author | Christopher Tate <ctate@google.com> | 2014-06-16 15:51:39 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2014-06-17 12:14:45 -0700 |
commit | cf1a2f73fc102be2ac7060ac97d4682bb2565ca5 (patch) | |
tree | f00e01d283dbf43199d2d3692d578b7e18e9326c /services/java | |
parent | 6b2df21ecacfa6826a85cabdf8d6fe0e81fe11d9 (diff) | |
download | frameworks_base-cf1a2f73fc102be2ac7060ac97d4682bb2565ca5.zip frameworks_base-cf1a2f73fc102be2ac7060ac97d4682bb2565ca5.tar.gz frameworks_base-cf1a2f73fc102be2ac7060ac97d4682bb2565ca5.tar.bz2 |
Switch everything to scheduled jobs
Everything that used the IdleMaintenance APIs/broadcasts gets to use the
spiffy new JobScheduler instead. Hooray!
On top of that, the now-obsolete "idle maintenance" APIs are now gone
entirely. Double hooray!
Bug 14993295
Change-Id: I5fb67c296ca8cd0ba8a2c8760a0f0d9d962d813b
Diffstat (limited to 'services/java')
-rw-r--r-- | services/java/com/android/server/SystemServer.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index 3102cce..04ba2a1 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -933,13 +933,6 @@ public final class SystemServer { } try { - Slog.i(TAG, "IdleMaintenanceService"); - new IdleMaintenanceService(context, battery); - } catch (Throwable e) { - reportWtf("starting IdleMaintenanceService", e); - } - - try { if (pm.hasSystemFeature(PackageManager.FEATURE_PRINTING)) { mSystemServiceManager.startService(PRINT_MANAGER_SERVICE_CLASS); } @@ -990,7 +983,7 @@ public final class SystemServer { try { Slog.i(TAG, "BackgroundDexOptService"); - new BackgroundDexOptService(context); + BackgroundDexOptService.schedule(context); } catch (Throwable e) { reportWtf("starting BackgroundDexOptService", e); } |