diff options
author | Dianne Hackborn <hackbod@google.com> | 2011-03-02 21:32:58 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2011-03-02 22:38:58 -0800 |
commit | 648251710162cdaf7371012a1cbb79b9bc5bc0e4 (patch) | |
tree | a98c62fcd2391c1dfa2623f899346de0a7619fe9 /tools | |
parent | cbf9cb35bb7064f303c6dd9da4485cd5344b6779 (diff) | |
download | frameworks_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.java | 4 |
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. } |