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

Commit f45bdaf5 authored by Alan Viverette's avatar Alan Viverette Committed by Android (Google) Code Review
Browse files

Merge "Don't show spinner popup if adapter is null"

parents 56fbb636 b9867eab
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -937,6 +937,9 @@ public class Spinner extends AbsSpinner implements OnClickListener {
        }

        public void show(int textDirection, int textAlignment) {
            if (mListAdapter == null) {
                return;
            }
            AlertDialog.Builder builder = new AlertDialog.Builder(getContext());
            if (mPrompt != null) {
                builder.setTitle(mPrompt);