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

Commit 76dcacad authored by Christopher Tate's avatar Christopher Tate Committed by Android Git Automerger
Browse files

am 1ff4293e: Merge "Fixed race condition in Spinner.DialogPopup on null reference."

* commit '1ff4293e':
  Fixed race condition in Spinner.DialogPopup on null reference.
parents 137d74d8 1ff4293e
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;