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

Commit b9025932 authored by tiansiming [田思明]'s avatar tiansiming [田思明] Committed by siming tian
Browse files

Modify javadoc for onWindowShown



onWindowShown is more like it should called after mWindow.show()
in InputMethodService. Considering the compatibility problem, just
make its javadoc clearer to the IME developers rather than
change the calling order.

Bug: 72922821
Test: N/A

Change-Id: Ibfe20f40a65475f39c8e79d10e2c494e212cf054
Signed-off-by: default avatartiansiming [田思明] <tiansiming@xiaomi.com>
parent 2e9bdd78
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1726,9 +1726,9 @@ public class InputMethodService extends AbstractInputMethodService {
    }

    /**
     * Called when the input method window has been shown to the user, after
     * previously not being visible.  This is done after all of the UI setup
     * for the window has occurred (creating its views etc).
     * Called immediately before the input method window is shown to the user.
     * You could override this to prepare for the window to be shown
     * (update view structure etc).
     */
    public void onWindowShown() {
        // Intentionally empty