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

Commit 2635b7b0 authored by Svetoslav's avatar Svetoslav
Browse files

Fix app widget serices not being unbound.

bug:17321037

Change-Id: I44578df1104f9bd2e28700a3422a3323844d92c0
parent 6a6a8f00
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -176,7 +176,7 @@ public class RemoteViewsAdapter extends BaseAdapter implements Handler.Callback
                RemoteViewsAdapter adapter;
                final AppWidgetManager mgr = AppWidgetManager.getInstance(context);
                if ((adapter = mAdapter.get()) != null) {
                    mgr.unbindRemoteViewsService(context.getPackageName(), appWidgetId, intent);
                    mgr.unbindRemoteViewsService(context.getOpPackageName(), appWidgetId, intent);
                } else {
                    Slog.w(TAG, "unbind: adapter was null");
                }