Merge "Set InputMethoMananger#mCurRootView to null when window dismissed"

This commit is contained in:
Treehugger Robot
2018-09-20 00:35:25 +00:00
committed by Gerrit Code Review

View File

@@ -1421,6 +1421,10 @@ public final class InputMethodManager {
mServedView.getWindowToken() == appWindowToken) {
finishInputLocked();
}
if (mCurRootView != null &&
mCurRootView.getWindowToken() == appWindowToken) {
mCurRootView = null;
}
}
}