Fix jank when rotating an expanded bubble
Previously we were removing all views and re-expanding the bubble after orientation changes.
That behavior also made the TaskView invisible and then visible again which triggered a SEND_TO_BACK followed by a
SEND_TO_FRONT shell transitions which caused flickering and noticeable latency before the task reappears.
This CL updates the positions and dimensions of the views without removing and readding them.
Demo: http://recall/-/bJtug1HhvXkkeA4MQvIaiP/dmFu9ca6zLPrWah7VZjmT0
Fixes: 280350168
Test: Manual
- Add bubbles
- Expand the stack
- Rotate
- Observe no jank
Change-Id: Ia3bcb4541928073dc5faae7de1088812b0c95974
2 files changed