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

Commit 83db1fee authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Use current insets source visibility for display switch

The preserved insets is a snapshot from display's insets state,
so it may store an invisible insets source if keyguard becomes
active when folding. Then when unfolding to apps, the restored
insets should respect the requested visibility from apps.

Fix: 433656558
Flag: EXEMPT BUGFIX
Test: atest DisplayPolicyTests#testSwitchDecorInsets
Test: Set fold mode to "Swipe up to continue".
      Set navigation mode to 3 button.
      Unfold the device, the app should get visible navbar insets.
Change-Id: If462a4c5432102f5425c2e7189093622ca9ea402
parent e8ce1497
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment