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

Commit f3032e9d authored by Adam Cohen's avatar Adam Cohen Committed by Android (Google) Code Review
Browse files

Merge "Fixing a bug in RemoteViewsAdapter where cached items weren't being marked as requested"

parents b27a1ca5 aeb66ca4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -914,7 +914,9 @@ public class RemoteViewsAdapter extends BaseAdapter implements Handler.Callback
                // view and queueing it to be loaded if it has not already been loaded.
                Context context = parent.getContext();
                RemoteViews rv = mCache.getRemoteViewsAt(position);
                int typeId = mCache.getMetaDataAt(position).typeId;
                RemoteViewsIndexMetaData indexMetaData = mCache.getMetaDataAt(position);
                indexMetaData.isRequested = true;
                int typeId = indexMetaData.typeId;

                // Reuse the convert view where possible
                if (layout != null) {