am 296c1616: Merge "Catching all Exceptions when calling through to RemoteViewsFactory" into honeycomb-mr1

* commit '296c1616bad5a075cf64c2ba025b0cfd6bb3816d':
  Catching all Exceptions when calling through to RemoteViewsFactory
This commit is contained in:
Adam Cohen
2011-03-16 18:03:23 -07:00
committed by Android Git Automerger

View File

@@ -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);