summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Hongwei Wang <hwwang@google.com> 2024-07-23 11:10:48 -0700
committer Hongwei Wang <hwwang@google.com> 2024-07-23 11:16:26 -0700
commitc2a94de85d96c0dbbef43cdcf428600cccfe2b7c (patch)
treec875735e89dace40ae27bffb1e843fa5b93e0cfd /api/api_test.go
parenta97e0590eb9a0dba95e565c951a885d14d2b4a3e (diff)
Ignore cutouts in handleSwipePiptoHomeTransition
For auto-enter PiP animation, PipTransition#handleSwipePipToHomeTransition populates the final surface control transactions from the animator by setting fraction to end. With ag/28133983, display cutout insets would be taken into account mistakenly and causes the content shifted at the end. Fixing this by empty the cutout information before populating the final transactions. Flag: EXEMPT bugfix Bug: 354206307 Test: Enter PiP from Netflix on different foldables and phones Change-Id: If57b774ba7c9343f9c45f32069b637302fafcf9f
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions