diff options
| author | 2014-06-20 21:45:50 +0000 | |
|---|---|---|
| committer | 2014-06-20 20:43:34 +0000 | |
| commit | ee4bd76a335d825e1a0532cc8db52f00fa68f346 (patch) | |
| tree | 3359e2254128b6a48a7d8aa2060bd4c12b361adc | |
| parent | 5c9916763451c3ab6b7cc4a14d7e6bde08f35bd6 (diff) | |
| parent | 1b8b3aa265190e84467f740e99a0ade3a0e3cd67 (diff) | |
Merge "Fix BackgroundDexOptService scheduled job"
| -rw-r--r-- | services/core/java/com/android/server/job/controllers/JobStatus.java | 3 | ||||
| -rw-r--r-- | services/core/java/com/android/server/pm/BackgroundDexOptService.java | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/services/core/java/com/android/server/job/controllers/JobStatus.java b/services/core/java/com/android/server/job/controllers/JobStatus.java index 15a6b2569c55..53337c4629f7 100644 --- a/services/core/java/com/android/server/job/controllers/JobStatus.java +++ b/services/core/java/com/android/server/job/controllers/JobStatus.java @@ -203,7 +203,8 @@ public class JobStatus { @Override public String toString() { return String.valueOf(hashCode()).substring(0, 3) + ".." - + ":[" + job.getService().getPackageName() + ",jId=" + job.getId() + + ":[" + job.getService() + + ",jId=" + job.getId() + ",R=(" + earliestRunTimeElapsedMillis + "," + latestRunTimeElapsedMillis + ")" + ",N=" + job.getNetworkCapabilities() + ",C=" + job.isRequireCharging() + ",I=" + job.isRequireDeviceIdle() + ",F=" + numFailures diff --git a/services/core/java/com/android/server/pm/BackgroundDexOptService.java b/services/core/java/com/android/server/pm/BackgroundDexOptService.java index 2a7b4f60a69a..1d53016f9856 100644 --- a/services/core/java/com/android/server/pm/BackgroundDexOptService.java +++ b/services/core/java/com/android/server/pm/BackgroundDexOptService.java @@ -34,9 +34,9 @@ import java.util.concurrent.atomic.AtomicBoolean; public class BackgroundDexOptService extends JobService { static final String TAG = "BackgroundDexOptService"; - static final int BACKGROUND_DEXOPT_JOB = 808; + static final int BACKGROUND_DEXOPT_JOB = 800; private static ComponentName sDexoptServiceName = new ComponentName( - BackgroundDexOptService.class.getPackage().getName(), + "android", BackgroundDexOptService.class.getName()); final AtomicBoolean mIdleTime = new AtomicBoolean(false); |