commit | 4ef153a7970c64f3cb997c408b41465e3e9ef36f | [log] [tgz] |
---|---|---|
author | Ben Lin <linben@google.com> | Tue Nov 02 17:32:44 2021 -0700 |
committer | Ben Lin <linben@google.com> | Fri Nov 05 18:00:24 2021 -0700 |
tree | 1af8ce3c1263914685abad23d3b3892b3ebc1f8c | |
parent | 1c3b93b10a8fff3e9bcd7d2bdc6da7c3cc434852 [diff] |
PiP: Recalculate size if too big/small on display change. On display changes, it is possible that the old bounds is now too big or too small for the new display. This is especially like on foldables, such as a min size on a folded state is too big when in an unfolded state. Bug: 198679951 Test: Fold, minimal size, then unfold - see size change, and resizing now doesn't jump to from too small -> small Change-Id: I5de64860f1fbb476ff1a6a8dd9a0c50fd3259a45