From 648251710162cdaf7371012a1cbb79b9bc5bc0e4 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Wed, 2 Mar 2011 21:32:58 -0800 Subject: Fix issue #3485923: Gmail crash Allow application to try to recover if a surface OOM error happens on the client side. Change-Id: I0308bd99647a35e4bcac448340b7fc6330a828f6 --- .../src/com/android/layoutlib/bridge/android/BridgeWindowSession.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools') 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. } -- cgit v1.1