From 9a1aee4d2b0cbac6baa47bad0ecda89bbba1385a Mon Sep 17 00:00:00 2001
From: Adrian Roos
Date: Mon, 3 Jan 2022 22:21:46 +0100
Subject: [PATCH] WindowManager: Fix javadoc for soft input states
Change-Id: I23e10b92356113ec61d1f2ee50a2f6d72ab17abf
---
core/java/android/view/WindowManager.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/java/android/view/WindowManager.java b/core/java/android/view/WindowManager.java
index f94125d2d5db9..cd9f3eb65bc80 100644
--- a/core/java/android/view/WindowManager.java
+++ b/core/java/android/view/WindowManager.java
@@ -2757,7 +2757,7 @@ public interface WindowManager extends ViewManager {
*
* Applications that target {@link android.os.Build.VERSION_CODES#P} and later, this flag
* is ignored unless there is a focused view that returns {@code true} from
- * {@link View#isInEditMode()} when the window is focused.
+ * {@link View#onCheckIsTextEditor()} when the window is focused.
*/
public static final int SOFT_INPUT_STATE_VISIBLE = 4;
@@ -2767,7 +2767,7 @@ public interface WindowManager extends ViewManager {
*
* Applications that target {@link android.os.Build.VERSION_CODES#P} and later, this flag
* is ignored unless there is a focused view that returns {@code true} from
- * {@link View#isInEditMode()} when the window is focused.
+ * {@link View#onCheckIsTextEditor()} when the window is focused.
*/
public static final int SOFT_INPUT_STATE_ALWAYS_VISIBLE = 5;