Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2be22cf authored by Adam Cohen's avatar Adam Cohen
Browse files

Catching all Exceptions when calling through to RemoteViewsFactory

Change-Id: Ib20c880bb7626565541ab4697317fcfaa2e6b5b7
parent 7ddd62b5
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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);