Skip to content
Commit 904ea677 authored by Vishnu Nair's avatar Vishnu Nair
Browse files

Misc clean up before requesting focus via setFocusedWindow api

Replace focus changed callback to use the callback from InputDispatcher.
Currently the system posts a message and informs accessibility services,
window focus observers and window change listeners. With the exception
of accessibility service (which requires to be notified before the
client gets notified), the other callbacks should be synchronized with
the callback from InputDispatcher.

This change also cleans up null checks for ActivityRecord#appToken
since it cannot be null.

Test: presubmit
Bug: 151179149
Change-Id: Id79553835048c090505589d62dee9cb8f38f23ff
parent b0e58545
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