OSDN Git Service

fixed build breakage due to bad merge. again...
authorWale Ogunwale <ogunwale@google.com>
Wed, 1 Apr 2015 19:32:32 +0000 (12:32 -0700)
committerWale Ogunwale <ogunwale@google.com>
Wed, 1 Apr 2015 19:32:32 +0000 (12:32 -0700)
Change-Id: I601bade61837e4408be083530d10c48c0595b38c

services/core/java/com/android/server/am/ActivityStackSupervisor.java

index 07e3492..16c88d3 100644 (file)
@@ -657,7 +657,7 @@ public final class ActivityStackSupervisor implements DisplayListener {
                 final ActivityStack stack = stacks.get(stackNdx);
                 final ActivityRecord r = stack.mResumedActivity;
                 if (r != null) {
-                    if (!r.nowVisible || r.waitingVisible) {
+                    if (!r.nowVisible || mWaitingVisibleActivities.contains(r)) {
                         return false;
                     }
                     foundResumed = true;