commit | d1cd540bbe6852cebe3fa0560f874d41476533cf | [log] [tgz] |
---|---|---|
author | Ming-Shin Lu <lumark@google.com> | Wed Sep 02 01:32:35 2020 +0800 |
committer | Ming-Shin Lu <lumark@google.com> | Thu Nov 26 09:24:46 2020 +0000 |
tree | 8e41c6e9c86bfaa77f5f791a68a8e6439fea8c42 | |
parent | b72c8a096b7479c3c2bb1374e091b277fd765f90 [diff] |
Add Null check for mView.findFocus() in ViewRootImpl Some apps like Netflix crashed while handleWindowFocusChanged but mView somehow has became null. It's fair to check null for mView.findFocus() since other places in ViewRootImpl that calling this method also add null check. Fix: 153862451 Test: atest CtsInputMethodTestCases Change-Id: I86bd5f3193deabe28bb425a8564017f7b32b90f3 (cherry picked from commit bdaa14bf18bd86e99649dc5a5f6a57f26e793e55)