summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupHelpers.cpp
diff options
context:
space:
mode:
author Maryam Dehaini <mdehaini@google.com> 2023-12-08 11:15:32 -0800
committer Maryam Dehaini <mdehaini@google.com> 2024-01-02 11:55:44 -0800
commit2c0d7b41c08f7f16ac4ea1466e6a1ef8f0627f7f (patch)
treebe9f1fbdcab6ff6516039555496d896818b83fe0 /libs/androidfw/BackupHelpers.cpp
parent2e0beb067dcc9588a700c73b8401c922e5bdb7f8 (diff)
Only set window crop and position in relayout when fluid drag resizing
Setting the position and crop during relayout is causing flashes in various transitions and it is only needed for fluid drag resizing. This CL makes the following changes: 1. Checks if task is fluid drag resizing before setting the position and window crop of the surface in WindowDecoration#relayout 2. Uses shell transitions to apply the final change in a fluid drag and drag resize. Bug: 315489329 Bug: 315487743 Bug: 315488702 Test: Testing transitions to make sure flash is gone and turning on fluid resizing to make sure it is still functional. Change-Id: I0122543bb7e8fd744f58edcf8b44038a5ce1a001
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions