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
Loading
Please register or sign in to comment