commit | bdaa14bf18bd86e99649dc5a5f6a57f26e793e55 | [log] [tgz] |
---|---|---|
author | Ming-Shin Lu <lumark@google.com> | Wed Sep 02 01:32:35 2020 +0800 |
committer | Ming-Shin Lu <lumark@google.com> | Wed Sep 02 01:37:28 2020 +0800 |
tree | d23effa10a0f1e0f8ab1943980a9ca37866c4bff | |
parent | d2e2eda8a23800b0043ca8b20619ac15e21defcc [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