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

Commit f5e2f3e3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove unnecessary null check code for RemoteView"

parents 7b6273b1 8b7b56f0
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -89,8 +89,7 @@ public class RemoteViewsListAdapter extends BaseAdapter {
            RemoteViews rv = mRemoteViewsList.get(position);
            RemoteViews rv = mRemoteViewsList.get(position);
            rv.addFlags(RemoteViews.FLAG_WIDGET_IS_COLLECTION_CHILD);
            rv.addFlags(RemoteViews.FLAG_WIDGET_IS_COLLECTION_CHILD);
            View v;
            View v;
            if (convertView != null && rv != null &&
            if (convertView != null && convertView.getId() == rv.getLayoutId()) {
                    convertView.getId() == rv.getLayoutId()) {
                v = convertView;
                v = convertView;
                rv.reapply(mContext, v, null /* handler */, null /* size */, mColorResources);
                rv.reapply(mContext, v, null /* handler */, null /* size */, mColorResources);
            } else {
            } else {