summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-03-02 21:32:58 -0800
committerDianne Hackborn <hackbod@google.com>2011-03-02 22:38:58 -0800
commit648251710162cdaf7371012a1cbb79b9bc5bc0e4 (patch)
treea98c62fcd2391c1dfa2623f899346de0a7619fe9 /tools
parentcbf9cb35bb7064f303c6dd9da4485cd5344b6779 (diff)
downloadframeworks_base-648251710162cdaf7371012a1cbb79b9bc5bc0e4.zip
frameworks_base-648251710162cdaf7371012a1cbb79b9bc5bc0e4.tar.gz
frameworks_base-648251710162cdaf7371012a1cbb79b9bc5bc0e4.tar.bz2
Fix issue #3485923: Gmail crash
Allow application to try to recover if a surface OOM error happens on the client side. Change-Id: I0308bd99647a35e4bcac448340b7fc6330a828f6
Diffstat (limited to 'tools')
-rw-r--r--tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
index 8422d48..ab8c4ec 100644
--- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
+++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgeWindowSession.java
@@ -85,6 +85,10 @@ public final class BridgeWindowSession implements IWindowSession {
return 0;
}
+ public boolean outOfMemory(IWindow window) throws RemoteException {
+ return false;
+ }
+
public void getDisplayFrame(IWindow window, Rect outDisplayFrame) {
// pass for now.
}