Loading
Update position if new control has different surface position
When rotating the screen while the IME was showing in Bubbles / multi window mode, there could have been a race between a transition that changes the leash's position and the ongoing animation that applies the initial position (from before the rotation). In either case, DisplayImeController receives a new control (with updated surface position): 1. If the animation is still ongoing, we already restart it (takes the new position) 2. If no animation was ongoing, we did not restart the animation as the leash of the control is the same - even though the surface position did change. Update the leash position in this case. Fix: 404725713 Test: Show IME in Messages within Bubbles landscape, then rotate Flag: EXEMPT Bugfix Change-Id: Ia3acf63e2a2ec7518ba5587ca44c5cede72574d4