diff options
| author | 2013-10-06 12:24:56 -0700 | |
|---|---|---|
| committer | 2013-10-06 12:24:56 -0700 | |
| commit | ff174d52bdac8893893f64c772e570842214f663 (patch) | |
| tree | a08a5319faa6b457c20043d48e56527f9f334086 | |
| parent | 3d61bf45e559e084fa173bd50e2e7d7286dc9a35 (diff) | |
Relax conditions for including windows behind dialogs
When a dialog has been minimized to recents the windows behind it
won't be visible. Yet we were requiring them to be visible in order to
be included in the ones being restored. This left the background
windows invisible on resume and showed home behind floating dialogs
instead of the activity that launched the dialogs.
Fixes bug 11067724.
Change-Id: Icadd7ec8fe7c73b52982b6ff5b5d98b8fb8476b0
| -rw-r--r-- | services/java/com/android/server/am/ActivityStack.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/am/ActivityStack.java b/services/java/com/android/server/am/ActivityStack.java index 45b30f1cf60a..b59f30749c85 100644 --- a/services/java/com/android/server/am/ActivityStack.java +++ b/services/java/com/android/server/am/ActivityStack.java @@ -1092,7 +1092,7 @@ final class ActivityStack { int rIndex = task.mActivities.indexOf(r); for ( --rIndex; rIndex >= 0; --rIndex) { final ActivityRecord blocker = task.mActivities.get(rIndex); - if (!blocker.finishing && blocker.visible) { + if (!blocker.finishing) { if (DEBUG_VISBILITY) Slog.v(TAG, "Home visibility for " + r + " blocked by " + blocker); break; |