commit | d82d6e0a04d235d94d24b93f697dc13f3bdb432b | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Tue Oct 15 00:38:25 2019 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Tue Oct 15 00:38:25 2019 +0800 |
tree | cda086976d26f15283042304f771b5cbf643b7c0 | |
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