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

Commit 39fc4a3c authored by Adam Powell's avatar Adam Powell Committed by Android (Google) Code Review
Browse files

Merge "Fix bug 3257463 - Yes, we SHOULD put the child in the recycler."

parents 29c696a6 22e92e55
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -199,7 +199,8 @@ public class Spinner extends AbsSpinner implements OnClickListener {
            child = getChildAt(0);
        } else if (mAdapter != null && mAdapter.getCount() > 0) {
            child = makeAndAddView(0);
            // TODO: We should probably put the child in the recycler
            mRecycler.put(0, child);
            removeAllViewsInLayout();
        }

        if (child != null) {