summaryrefslogtreecommitdiffstats
path: root/cmds/am/src/com
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2014-07-24 17:03:22 -0700
committerChristopher Tate <ctate@android.com>2014-07-25 00:30:07 +0000
commitb9583c9d93bd1d2c9d506dffae87a5ca2b7f7307 (patch)
tree42d7b26e9fcc1df8db992f4428d675a91f092c83 /cmds/am/src/com
parentccf9fca47149d102293668c2e81febc175e0329e (diff)
downloadframeworks_base-b9583c9d93bd1d2c9d506dffae87a5ca2b7f7307.zip
frameworks_base-b9583c9d93bd1d2c9d506dffae87a5ca2b7f7307.tar.gz
frameworks_base-b9583c9d93bd1d2c9d506dffae87a5ca2b7f7307.tar.bz2
Turn on debugging override of idle time
'adb shell am idle-maintenance' has traditionally been used to force the system to consider itself to be in an "idle" state. Unfortunately the new Job Manager hadn't yet been aware of this. Rectify the situation. Also fixes a bug in debug logging that would cause a system server crash under certain race circumstances. Change-Id: I8a29bd7757924f8e464865235c344233fc03d8c3
Diffstat (limited to 'cmds/am/src/com')
-rw-r--r--cmds/am/src/com/android/commands/am/Am.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/am/src/com/android/commands/am/Am.java b/cmds/am/src/com/android/commands/am/Am.java
index 127b0fc..fa59e4b 100644
--- a/cmds/am/src/com/android/commands/am/Am.java
+++ b/cmds/am/src/com/android/commands/am/Am.java
@@ -1465,7 +1465,7 @@ public class Am extends BaseCommand {
System.out.println("Performing idle maintenance...");
Intent intent = new Intent(
- "com.android.server.IdleMaintenanceService.action.FORCE_IDLE_MAINTENANCE");
+ "com.android.server.task.controllers.IdleController.ACTION_TRIGGER_IDLE");
mAm.broadcastIntent(null, intent, null, null, 0, null, null, null,
android.app.AppOpsManager.OP_NONE, true, false, UserHandle.USER_ALL);
}