summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/10/changes
diff options
context:
space:
mode:
authorjorgegil@google.com <jorgegil@google.com>2020-10-09 15:18:10 -0700
committerjorgegil@google.com <jorgegil@google.com>2020-10-09 15:31:06 -0700
commita6e524e127f960159aa631509c5b6d6b0baa2a86 (patch)
tree7c9fc85b3441c1e51315e7de00792e03a59d0938 /docs/html/sdk/api_diff/10/changes
parent3f32fa6a9e936d6a0ba82db3d122e6fcb5296d4f (diff)
Use out pipBounds to save reentry size
Currently, when an out PIP transition happens we combine: (1) the last user resized bounds, plus (2) the out pipBounds fraction (mLastReportedBounds) Using both we create the reentry bounds used to restore on reentry. This is actually unnecessary since ag/12307605 and ag/12309037 both landed. They landed as separate efforts fixing different issues almost at the same time, so we didn't realize that getting the last user resized bounds was no longer necessary with the safe mLastReportedBounds (i.e. pipBounds) passed into onPipTransitionStarted. The pipBounds argument is equal to the last user resized size with the current fraction applied, so there's no need to re-calculate it, we can just use it directly. Bug: 169373982 Test: enter/exit pip and resize multiple times to verify the reentry size is correct. Change-Id: I2517d10bfbc8ca9c15b08b32089bdeeb1dd3aab6
Diffstat (limited to 'docs/html/sdk/api_diff/10/changes')
0 files changed, 0 insertions, 0 deletions