am 41d54237: am 92cf3608: Merge "Debug for bug 18201239." into lmp-mr1-dev

* commit '41d54237380d5f3c06ab2a71715e22f048278ecf':
  Debug for bug 18201239.
This commit is contained in:
Craig Mautner
2015-01-15 23:30:41 +00:00
committed by Android Git Automerger
2 changed files with 4 additions and 2 deletions

View File

@@ -2954,6 +2954,8 @@ public final class ActivityThread {
+ ": " + e.toString(), e);
}
}
} else {
Slog.i(TAG, "handleStopService: token=" + token + " not found.");
}
//Slog.i(TAG, "Running services: " + mServices);
}

View File

@@ -69,7 +69,7 @@ public final class ActiveServices {
static final boolean DEBUG_DELAYED_SERVICE = ActivityManagerService.DEBUG_SERVICE;
static final boolean DEBUG_DELAYED_STARTS = DEBUG_DELAYED_SERVICE;
static final boolean DEBUG_MU = ActivityManagerService.DEBUG_MU;
static final boolean LOG_SERVICE_START_STOP = false;
static final boolean LOG_SERVICE_START_STOP = true;
static final String TAG = ActivityManagerService.TAG;
static final String TAG_MU = ActivityManagerService.TAG_MU;
@@ -1870,7 +1870,7 @@ public final class ActiveServices {
private void serviceDoneExecutingLocked(ServiceRecord r, boolean inDestroying,
boolean finishing) {
if (DEBUG_SERVICE) Slog.v(TAG, "<<< DONE EXECUTING " + r
if (true || DEBUG_SERVICE) Slog.v(TAG, "<<< DONE EXECUTING " + r
+ ": nesting=" + r.executeNesting
+ ", inDestroying=" + inDestroying + ", app=" + r.app);
else if (DEBUG_SERVICE_EXECUTING) Slog.v(TAG, "<<< DONE EXECUTING " + r.shortName);