summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Adam Cohen <adamcohen@google.com> 2011-03-16 18:06:43 -0700
committer Android Git Automerger <android-git-automerger@android.com> 2011-03-16 18:06:43 -0700
commit05c4d6def58a1c20f4160147dc7b47227b5c8c68 (patch)
tree61746ebec28df8286977dbadc2aa66fd62c5d7c1
parenta30f43624f76a7d49fcb48944c310cb4dbfc6522 (diff)
parent6decf37c98380271013c057862efcef137bc4f6c (diff)
am 6decf37c: am afcb65c2: am 296c1616: Merge "Catching all Exceptions when calling through to RemoteViewsFactory" into honeycomb-mr1
* commit '6decf37c98380271013c057862efcef137bc4f6c': Catching all Exceptions when calling through to RemoteViewsFactory
-rw-r--r--services/java/com/android/server/AppWidgetService.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/java/com/android/server/AppWidgetService.java b/services/java/com/android/server/AppWidgetService.java
index f28e2b12ce55..a4a95a0ace90 100644
--- a/services/java/com/android/server/AppWidgetService.java
+++ b/services/java/com/android/server/AppWidgetService.java
@@ -135,7 +135,7 @@ class AppWidgetService extends IAppWidgetService.Stub
IRemoteViewsAdapterConnection.Stub.asInterface(mConnectionCb);
try {
cb.onServiceConnected(service);
- } catch (RemoteException e) {
+ } catch (Exception e) {
e.printStackTrace();
}
}
@@ -147,7 +147,7 @@ class AppWidgetService extends IAppWidgetService.Stub
IRemoteViewsAdapterConnection.Stub.asInterface(mConnectionCb);
try {
cb.onServiceDisconnected();
- } catch (RemoteException e) {
+ } catch (Exception e) {
e.printStackTrace();
}
}
@@ -541,7 +541,7 @@ class AppWidgetService extends IAppWidgetService.Stub
IRemoteViewsFactory.Stub.asInterface(service);
try {
cb.onDestroy(intent);
- } catch (RemoteException e) {
+ } catch (Exception e) {
e.printStackTrace();
}
mContext.unbindService(this);