Merge "Add Null check for mView.findFocus() in ViewRootImpl"
This commit is contained in:
committed by
Android (Google) Code Review
commit
4ef96d7909
@@ -3234,8 +3234,8 @@ public final class ViewRootImpl implements ViewParent,
|
||||
|
||||
// Note: must be done after the focus change callbacks,
|
||||
// so all of the view state is set up correctly.
|
||||
mImeFocusController.onPostWindowFocus(mView.findFocus(), hasWindowFocus,
|
||||
mWindowAttributes);
|
||||
mImeFocusController.onPostWindowFocus(mView != null ? mView.findFocus() : null,
|
||||
hasWindowFocus, mWindowAttributes);
|
||||
|
||||
if (hasWindowFocus) {
|
||||
// Clear the forward bit. We can just do this directly, since
|
||||
|
||||
Reference in New Issue
Block a user