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

Commit 1ff4293e authored by Christopher Tate's avatar Christopher Tate Committed by Gerrit Code Review
Browse files

Merge "Fixed race condition in Spinner.DialogPopup on null reference."

parents db525724 2f77f9c0
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -952,9 +952,11 @@ public class Spinner extends AbsSpinner implements OnClickListener {
        private CharSequence mPrompt;

        public void dismiss() {
            if (mPopup != null) {
                mPopup.dismiss();
                mPopup = null;
            }
        }

        public boolean isShowing() {
            return mPopup != null ? mPopup.isShowing() : false;