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

Commit 55e7edc4 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Clear letterbox surface bounds if it is hidden

App may change cutout mode at runtime, then the letterbox
bounds should be cleared if no longer need to show letterbox.
Otherwise, TaskSnapshot uses getLetterboxInsets that always
returns the old result.

Bug: 309593314
Bug: 439555893
Flag: EXEMPT bugfix
Test: Launch an app with windowLayoutInDisplayCutoutMode=never
      And the app updates layoutInDisplayCutoutMode to always.
      Return to home and launch the app again.
      The snapshot starting window should not contain cutout offset.
Change-Id: Ibbef1385a922a6f8f888468020f1d8e2d41d8611
parent bcd480d7
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