Maybe fix transitions for bubbles

When an async event must occur to prepare a transition, defer and
continue the transition before /after that async event. Otherwise the
transition may start without the necessary info to properly handle
the transition resulting in missed / mishandled transitions.

This won't fix it in all cases but might minimize some situations
where this can happen until the long term fix (b/294925498) is
completed.

Bug: 299377680
Test: treehugger / manual - opened some pending intent based bubbles
Change-Id: I4323919b387e94e039ad51f8b09729599bd79f94
1 file changed