Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d82d6e0a authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 166b7cbb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment