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

Commit f77fa13b authored by David van Tonder's avatar David van Tonder Committed by Gerrit Code Review
Browse files

Merge "Fixed race condition in Spinner.DialogPopup on null reference." into cm-11.0

parents c0fdfafc 9bfb8ff0
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;