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

Commit d452dbc2 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Fixing issue where AppWidget service was being hit regardless of...

Merge "Fixing issue where AppWidget service was being hit regardless of caching in RemoteViewsAdapter. (3467340)" into honeycomb-mr1
parents 9ab91b84 7ab73e75
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();