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

Commit 86824cf0 authored by Christopher Tate's avatar Christopher Tate Committed by Android Git Automerger
Browse files

am 3a3def13: am 0e8f02d6: am 76dcacad: am 1ff4293e: Merge "Fixed race...

am 3a3def13: am 0e8f02d6: am 76dcacad: am 1ff4293e: Merge "Fixed race condition in Spinner.DialogPopup on null reference."

* commit '3a3def13':
  Fixed race condition in Spinner.DialogPopup on null reference.
parents 698d3673 3a3def13
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;