am 228cefa8: am 3fb2b713: Merge "[ActivityManager] Reduce report ANR on wrong activity."

* commit '228cefa83dd7b95e5581f619bb597808af726f80':
  [ActivityManager] Reduce report ANR on wrong activity.
This commit is contained in:
Craig Mautner
2014-04-07 22:21:33 +00:00
committed by Android Git Automerger

View File

@ -947,8 +947,8 @@ final class ActivityRecord {
// for another app to start, then we have paused dispatching
// for this activity.
ActivityRecord r = this;
final ActivityStack stack = task.stack;
if (r.waitingVisible) {
final ActivityStack stack = mStackSupervisor.getFocusedStack();
// Hmmm, who might we be waiting for?
r = stack.mResumedActivity;
if (r == null) {