ForeignLooper allows (re)registering callbacks on threads that are not the ThreadLooper (current) thread. Since these calls will be executed on that ThreadLooper thread when the user calls any of the poll() functions, these closures have to pass a thread boundary which requires Send.
ForeignLooper
allows (re)registering callbacks on threads that are not theThreadLooper
(current) thread. Since these calls will be executed on thatThreadLooper
thread when the user calls any of thepoll()
functions, these closures have to pass a thread boundary which requiresSend
.