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

Commit 7ab73e75 authored by Winson Chung's avatar Winson Chung
Browse files

Fixing issue where AppWidget service was being hit regardless of caching in...

Fixing issue where AppWidget service was being hit regardless of caching in RemoteViewsAdapter. (3467340)

Change-Id: Icbcbf6ef94a861d88243bd2d6587995991b53c82
parent d7e80b9d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -889,7 +889,7 @@ public class RemoteViewsAdapter extends BaseAdapter implements Handler.Callback
            boolean isConnected = mServiceConnection.isConnected();
            boolean hasNewItems = false;

            if (!isConnected) {
            if (!isInCache && !isConnected) {
                // Requesting bind service will trigger a super.notifyDataSetChanged(), which will
                // in turn trigger another request to getView()
                requestBindService();