Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 14fa99be authored by axfordjc's avatar axfordjc Committed by Jonathon Axford
Browse files

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
parent ba468dc2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment