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

Commit 4d8fd40e authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 5457264 from bf564f01 to qt-release

Change-Id: I99cee444791f6b4c4b4a3b054ac4cf3d508e4b6a
parents 1248fa69 bf564f01
Loading
Loading
Loading
Loading
+9 −1
Original line number Original line Diff line number Diff line
@@ -928,7 +928,7 @@ public class ContactEditorFragment extends Fragment implements
        }
        }


        setEnabled(false);
        setEnabled(false);

        hideSoftKeyboard();
        return doSaveAction(saveMode, /* joinContactId */ null);
        return doSaveAction(saveMode, /* joinContactId */ null);
    }
    }


@@ -1837,4 +1837,12 @@ public class ContactEditorFragment extends Fragment implements
            RESTORE_FOCUS_DELAY_MILLIS);
            RESTORE_FOCUS_DELAY_MILLIS);
    }
    }


    private void hideSoftKeyboard() {
        InputMethodManager imm = (InputMethodManager) mContext.getSystemService(
            Context.INPUT_METHOD_SERVICE);
        if (imm != null && mContent != null) {
            imm.hideSoftInputFromWindow(
                mContent.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);
        }
    }
}
}