diff options
author | Jackal Guo <jackalguo@google.com> | 2018-10-04 11:43:51 +0800 |
---|---|---|
committer | Jackal Guo <jackalguo@google.com> | 2018-10-09 17:59:26 +0800 |
commit | e97db706ceadeb8f2e411e0f1a8ec6a6e4484857 (patch) | |
tree | d8627c4c52b454c4803880560601a92b69e880c1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 72621aebf112398616c026bd45e0e2117d3d750b (diff) |
Add null check for WindowInfo
The WindowInfo may be null if the target window can't be found in
current mWindowInfoById. Add null guard to prevent from NPE here.
Bug: 116652152
Test: atest CtsAccessibilityServiceTestCases
Test: atest CtsAccessibilityTestCases
Change-Id: Iaf2446e66420289be4154e90fbe213bbca9fd41f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions