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

Commit 47e49fd0 authored by Tarandeep Singh's avatar Tarandeep Singh
Browse files

Add javadoc for IMM.showInputMethodPicker

Added javadoc to make clear that it requires FEATURE_INPUT_METHOD.

Bug: 127840515
Test: atest InputMethodManagerTest#testShowInputMethodPicker
Change-Id: I3dde60ecc538a8fc64ebbf6935830621bf9c6253
parent 66b5c276
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2559,6 +2559,12 @@ public final class InputMethodManager {
        mPendingEventPool.release(p);
    }

    /**
     * Show IME picker popup window.
     *
     * <p>Requires the {@link PackageManager#FEATURE_INPUT_METHODS} feature which can be detected
     * using {@link PackageManager#hasSystemFeature(String)}.
     */
    public void showInputMethodPicker() {
        synchronized (mH) {
            showInputMethodPickerLocked();