diff options
| author | 2018-09-20 02:35:47 +0000 | |
|---|---|---|
| committer | 2018-09-20 02:35:47 +0000 | |
| commit | 205f5bd24953063d35ca909e4ed0c1f703c6f74b (patch) | |
| tree | bdb255ff7ef0c32bf775f1065108bb185549a254 | |
| parent | 5529a99f42f3f1e536ef4441fe6b160178491b4b (diff) | |
| parent | 4d5ba15e69b13194c121d74b630c4e4cca678dee (diff) | |
Merge "Merge "Set InputMethoMananger#mCurRootView to null when window dismissed" am: 7bd18423f6 am: 9c5a6e2c6c" into pi-dev-plus-aosp
| -rw-r--r-- | core/java/android/view/inputmethod/InputMethodManager.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/view/inputmethod/InputMethodManager.java b/core/java/android/view/inputmethod/InputMethodManager.java index b93afdf3a090..bca2e117a8a1 100644 --- a/core/java/android/view/inputmethod/InputMethodManager.java +++ b/core/java/android/view/inputmethod/InputMethodManager.java @@ -1421,6 +1421,10 @@ public final class InputMethodManager { mServedView.getWindowToken() == appWindowToken) { finishInputLocked(); } + if (mCurRootView != null && + mCurRootView.getWindowToken() == appWindowToken) { + mCurRootView = null; + } } } |