diff options
| author | jorgegil@google.com <jorgegil@google.com> | 2020-10-15 14:35:46 -0700 |
|---|---|---|
| committer | jorgegil@google.com <jorgegil@google.com> | 2020-10-20 19:22:45 -0700 |
| commit | 5ebaec9607699e38f7e62db467d7b219a2a700b0 (patch) | |
| tree | 19ee7bcfffe916442fdf65d46fb348884c420eb0 /docs/html/sdk/api_diff/24/changes | |
| parent | 16b27d5064f89aba920c72033082bdb2c65efd6d (diff) | |
Move aspect ratio state into PipBoundsState
Couple of changes here:
1. mAspectRatio is moved to PipBoundsState
2. Simplified getDestinationBounds by removing the aspect ratio
param. It was always re-calculated, then sent to getDestinationBounds,
then updated mAspectRatio. Now mAspectRatio is updated first and
getDestinationBounds just uses the PipBoundsState's ratio.
Bug: 169373982
Test: aspect ratio is set correctly on enter PIP, and updated during
PIP mode if app changes it (e.g. Youtube)
Change-Id: I144960ff41bde4f18eb1e9a8e60ea0cba29a8470
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions
