OSDN Git Service

Turn on debugging override of idle time
authorChristopher Tate <ctate@google.com>
Fri, 25 Jul 2014 00:03:22 +0000 (17:03 -0700)
committerChristopher Tate <ctate@android.com>
Fri, 25 Jul 2014 00:30:07 +0000 (00:30 +0000)
commitb9583c9d93bd1d2c9d506dffae87a5ca2b7f7307
tree42d7b26e9fcc1df8db992f4428d675a91f092c83
parentccf9fca47149d102293668c2e81febc175e0329e
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
cmds/am/src/com/android/commands/am/Am.java
services/core/java/com/android/server/job/JobServiceContext.java
services/core/java/com/android/server/job/controllers/IdleController.java