diff options
author | Ben Lin <linben@google.com> | 2021-11-02 17:32:44 -0700 |
---|---|---|
committer | Ben Lin <linben@google.com> | 2021-11-05 18:00:24 -0700 |
commit | 4ef153a7970c64f3cb997c408b41465e3e9ef36f (patch) | |
tree | 1af8ce3c1263914685abad23d3b3892b3ebc1f8c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions