summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/SystemServer.java
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2019-08-23 10:18:28 -0700
committerMakoto Onuki <omakoto@google.com>2019-08-23 16:03:30 -0700
commit52c24b377b584315071a70f4fb975af488249286 (patch)
tree39527f311e2540249c25661f169fd65693c17149 /services/java/com/android/server/SystemServer.java
parent903102c43014cccea9d0365a0700bd617faf2453 (diff)
Move DeviceIdle to the JS apex
Test: atest cts/tests/tests/batterysaving/src/android/os/cts/deviceidle/DeviceIdleTest.java Bug: 137763703 Change-Id: I836350c09f45f95afbf90b562ab1ceed75526498
Diffstat (limited to 'services/java/com/android/server/SystemServer.java')
-rw-r--r--services/java/com/android/server/SystemServer.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java
index 67ae4070966d..90d0c3051185 100644
--- a/services/java/com/android/server/SystemServer.java
+++ b/services/java/com/android/server/SystemServer.java
@@ -272,6 +272,8 @@ public final class SystemServer {
"com.android.server.appprediction.AppPredictionManagerService";
private static final String CONTENT_SUGGESTIONS_SERVICE_CLASS =
"com.android.server.contentsuggestions.ContentSuggestionsManagerService";
+ private static final String DEVICE_IDLE_CONTROLLER_CLASS =
+ "com.android.server.DeviceIdleController";
private static final String PERSISTENT_DATA_BLOCK_PROP = "ro.frp.pst";
@@ -1245,7 +1247,7 @@ public final class SystemServer {
}
t.traceBegin("StartDeviceIdleController");
- mSystemServiceManager.startService(DeviceIdleController.class);
+ mSystemServiceManager.startService(DEVICE_IDLE_CONTROLLER_CLASS);
t.traceEnd();
// Always start the Device Policy Manager, so that the API is compatible with