diff options
author | Vivek Sekhar <vsekhar@codeaurora.org> | 2015-07-31 16:52:00 -0700 |
---|---|---|
committer | jrizzoli <joey@cyanogenmoditalia.it> | 2015-08-28 13:15:47 +0200 |
commit | d488729d0cbaf8111a4fb76948fd28b150e6b0af (patch) | |
tree | 4982350da14076ec403c3606b4ccdf66643beed9 | |
parent | bd1cd314d7116435ba14623ce0d1d712350373a1 (diff) | |
download | android_packages_apps_Gello-d488729d0cbaf8111a4fb76948fd28b150e6b0af.tar.gz android_packages_apps_Gello-d488729d0cbaf8111a4fb76948fd28b150e6b0af.tar.bz2 android_packages_apps_Gello-d488729d0cbaf8111a4fb76948fd28b150e6b0af.zip |
Catch generice exception in UpdateNotificationService
Change-Id: I09e02c1d99cf35989bb1d6fd2d30e759e305f27b
-rw-r--r-- | src/com/android/browser/UpdateNotificationService.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/android/browser/UpdateNotificationService.java b/src/com/android/browser/UpdateNotificationService.java index dc913158..49cf324f 100644 --- a/src/com/android/browser/UpdateNotificationService.java +++ b/src/com/android/browser/UpdateNotificationService.java @@ -225,10 +225,8 @@ public class UpdateNotificationService extends IntentService { showNotification(this, url, version); } stream.close(); - } catch (JSONException e) { - Log.e(LOGTAG, "handleUpdateCheck JSONException : " + e.toString()); - } catch (IOException e) { - Log.e(LOGTAG, "handleUpdateCheck IOException : " + e.toString()); + } catch (Exception e) { + Log.e(LOGTAG, "handleUpdateCheck Exception : " + e.toString()); } finally { // always update the timestamp updateTimeStamp(); |