Don't forward main looper messages to custom looper.
Our current custom looper implementation tries to handle all messages including those sent to the main looper. However, the main looper does not use our doLoop implementation and thus messages never get executed. This adds a check whether the target looper is the main looper and if so, uses the default message forwarding implementation. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194779214
Showing
with
4 additions
and
2 deletions
Please
register
or
sign in
to comment