summaryrefslogtreecommitdiff
path: root/core/java/android/view/ViewRoot.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-01-27 22:47:50 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-01-27 22:47:50 -0800
commitd23316bc8b49f269e5adcc91eae5698549faa0a3 (patch)
treefc9ef4058679525444e6044afd86e3a56554bf4a /core/java/android/view/ViewRoot.java
parentc8c3021ac3b5ca2315148d5dae143b53b7d68a60 (diff)
parent83a6f450bde23e1bfd07ee1c218dab35053dec76 (diff)
Merge "Maybe fix issue #3358322: Status and nav bar died while watching youtube" into honeycomb
Diffstat (limited to 'core/java/android/view/ViewRoot.java')
-rw-r--r--core/java/android/view/ViewRoot.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/view/ViewRoot.java b/core/java/android/view/ViewRoot.java
index b21af410b306..b1d509acfe79 100644
--- a/core/java/android/view/ViewRoot.java
+++ b/core/java/android/view/ViewRoot.java
@@ -1551,11 +1551,13 @@ public final class ViewRoot extends Handler implements ViewParent,
Log.e(TAG, "OutOfResourcesException locking surface", e);
// TODO: we should ask the window manager to do something!
// for now we just do nothing
+ mLayoutRequested = true; // ask wm for a new surface next time.
return;
} catch (IllegalArgumentException e) {
Log.e(TAG, "IllegalArgumentException locking surface", e);
// TODO: we should ask the window manager to do something!
// for now we just do nothing
+ mLayoutRequested = true; // ask wm for a new surface next time.
return;
}