diff options
author | Riddle Hsu <riddlehsu@google.com> | 2019-10-15 00:38:25 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2019-10-15 00:38:25 +0800 |
commit | d82d6e0a04d235d94d24b93f697dc13f3bdb432b (patch) | |
tree | cda086976d26f15283042304f771b5cbf643b7c0 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 166b7cbbc889417bca5e364919ac4c40770e6508 (diff) |
Fix NPE in InputManagerCallback#notifyFocusChanged
The newToken may be null from InputDispatcher before the
next focused window is ready.
Bug: 134365580
Test: Launch any activity and no error log of InputManager-JNI.
Test: atest PointerCaptureTest WindowFocusTests
Change-Id: Ifbb08a551a1ab1d3db536f4708164dbe965ac43b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions