summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMing-Shin Lu <lumark@google.com>2020-09-02 01:32:35 +0800
committerMing-Shin Lu <lumark@google.com>2020-11-26 09:24:46 +0000
commitd1cd540bbe6852cebe3fa0560f874d41476533cf (patch)
tree8e41c6e9c86bfaa77f5f791a68a8e6439fea8c42 /tools/aapt2/java/JavaClassGenerator.cpp
parentb72c8a096b7479c3c2bb1374e091b277fd765f90 (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)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions