From 84c5bd353d5362176435e31c6bb6fdc5a28b74fb Mon Sep 17 00:00:00 2001 From: Joachim Fritzsch Date: Tue, 13 Aug 2013 13:07:45 +0200 Subject: [PATCH] android: bug fix for OutOfMemeoryError while loading slideshow, handle exception. reported in PlayStore. --- android/BOINC/src/edu/berkeley/boinc/client/ClientStatus.java | 1 + 1 file changed, 1 insertion(+) diff --git a/android/BOINC/src/edu/berkeley/boinc/client/ClientStatus.java b/android/BOINC/src/edu/berkeley/boinc/client/ClientStatus.java index 63f7093be5..d8db9f8362 100644 --- a/android/BOINC/src/edu/berkeley/boinc/client/ClientStatus.java +++ b/android/BOINC/src/edu/berkeley/boinc/client/ClientStatus.java @@ -342,6 +342,7 @@ public class ClientStatus { } } } catch(Exception e) {if(Logging.WARNING) Log.w(Logging.TAG,"exception for project " + project.master_url,e);} + catch (OutOfMemoryError oome) {if(Logging.WARNING) Log.w(Logging.TAG,"updateSlideshowImages, OutOfMemeryError");} } if(Logging.DEBUG) Log.d(Logging.TAG, "updateSlideshowImages() has added " + counter + " images."); if(Logging.DEBUG) Log.d(Logging.TAG,"updateSlideshowImages() slideshow contains " + slideshowImages.size() + " bitmaps.");