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

Commit b9867eab authored by Alan Viverette's avatar Alan Viverette
Browse files

Don't show spinner popup if adapter is null

BUG: 10076106
Change-Id: I1c1c235645b7963f802b0747f7ca64d8aedaaa66
parent d8501485
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);