diff options
| author | 2023-08-29 09:30:48 +0000 | |
|---|---|---|
| committer | 2023-09-04 14:51:29 +0000 | |
| commit | 14fa99be68f21103f7840ed6c1e82f6ac6fadcf6 (patch) | |
| tree | b380e96c531517ce5ea952a42d8d7364d0219584 /libs/androidfw/StringPool.cpp | |
| parent | ba468dc2524406ec6561103b03cfb5799dbadaa4 (diff) | |
Bouncer refactor - prep for motion layout implementation
This change partially reverts change ag/24059927 (Change-Id: I3fd6010605d6b5fc5800d5463cd3da5f54ecd88a) because the use of re-inflation caused many issues (b/296567469)
TLDR:
- removed re-inflation of bouncer on rotate
- now call updateConstraints() method instead
Previously:
- used a new landscape layout and reinflated on rotate, but re-inflation caused many many issues.
Now:
- bouncers will be refactored to use a single motion layout. E.G., ag/24654828
- transition between landscape or portrait constraints on rotate
Flag:
WHEN FLAG OFF - old portrait layout always used (no change in behaviour)
WHEN FLAG ON - new layout used, constraints updated to match current orientation (once per rotate, once on device posture change, and once after inflate)
Bug: 293252410
Bug: 296567469
Test: KeyguardSecurityContainerControllerTest, KeyguardSecurityViewFlipperControllerTest
Change-Id: Ibfdf2e0eb1e0cf1a44b8fd43ac4bcffc91818027
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions