diff --git a/app/src/main/java/eu/faircode/email/SpinnerEx.java b/app/src/main/java/eu/faircode/email/SpinnerEx.java index c240935cf4..36c85dc6ac 100644 --- a/app/src/main/java/eu/faircode/email/SpinnerEx.java +++ b/app/src/main/java/eu/faircode/email/SpinnerEx.java @@ -69,8 +69,12 @@ public class SpinnerEx extends Spinner { @Override protected void onFocusChanged(boolean gainFocus, int direction, @Nullable Rect previouslyFocusedRect) { - super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); - if (gainFocus && getWindowToken() != null) - performClick(); + try { + super.onFocusChanged(gainFocus, direction, previouslyFocusedRect); + if (gainFocus && getWindowToken() != null) + performClick(); + } catch (Throwable ex) { + Log.e(ex); + } } }