summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Liran Binyamin <liranb@google.com> 2023-10-26 12:59:15 -0400
committer Liran Binyamin <liranb@google.com> 2023-10-26 13:09:26 -0400
commit70b67510c9edd013a0a0b53a032090fa2cce0e8b (patch)
tree0fa3bdb268a79ff910b303d984096d9d85348d55 /libs/androidfw/FileStream.cpp
parent72c6685cda6c64e89f3b8251e706364a119bb291 (diff)
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions