From 6bf769273715e7225f69f82e4dd8a8c1cc992324 Mon Sep 17 00:00:00 2001 From: Kohsuke Yatoh Date: Thu, 7 Jul 2022 20:03:57 +0000 Subject: [PATCH] Fix typo in getCandidatesHiddenVisibility Javadoc. It always return GONE or *IN*VISIBLE, not VISIBLE. Change-Id: Id2e51b4525ca087f5c50ceb7575f3270e97b0138 Test: n/a --- core/java/android/inputmethodservice/InputMethodService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/inputmethodservice/InputMethodService.java b/core/java/android/inputmethodservice/InputMethodService.java index c02f870edbc26..c6fc9ec0ee6bc 100644 --- a/core/java/android/inputmethodservice/InputMethodService.java +++ b/core/java/android/inputmethodservice/InputMethodService.java @@ -2163,13 +2163,13 @@ public class InputMethodService extends AbstractInputMethodService { mCandidatesVisibility = vis; } } - + /** * Returns the visibility mode (either {@link View#INVISIBLE View.INVISIBLE} * or {@link View#GONE View.GONE}) of the candidates view when it is not * shown. The default implementation returns GONE when * {@link #isExtractViewShown} returns true, - * otherwise VISIBLE. Be careful if you change this to return GONE in + * otherwise INVISIBLE. Be careful if you change this to return GONE in * other situations -- if showing or hiding the candidates view causes * your window to resize, this can cause temporary drawing artifacts as * the resize takes place.