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

Commit 4ffcf833 authored by kaiyiz's avatar kaiyiz Committed by Gerrit - the friendly Code Review server
Browse files

MMS: Fix the edit options menu disappear after click edit button

It should not check if the PopupWindow is not showing before hide
the PopupWindow.

It should check if the PopupWindow is showing before hide PopupWindow.

CRs-Fixed: 778105

Change-Id: I80fe49c270ca3ba4d6c22c6aa32408826ff3ac5c
parent 6f93fe4a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -516,7 +516,7 @@ public class Editor {
    }

    private void hideCursorControllers() {
        if (mSuggestionsPopupWindow != null && !mSuggestionsPopupWindow.isShowingUp()) {
        if (mSuggestionsPopupWindow != null && mSuggestionsPopupWindow.isShowingUp()) {
            // Should be done before hide insertion point controller since it triggers a show of it
            mSuggestionsPopupWindow.hide();
        }