Catch generice exception in UpdateNotificationService
Change-Id: I09e02c1d99cf35989bb1d6fd2d30e759e305f27b
diff --git a/src/com/android/browser/UpdateNotificationService.java b/src/com/android/browser/UpdateNotificationService.java
index dc91315..49cf324 100644
--- a/src/com/android/browser/UpdateNotificationService.java
+++ b/src/com/android/browser/UpdateNotificationService.java
@@ -225,10 +225,8 @@
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();