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

Commit dba38a8c authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Do not use cached insets if rotation is different

Avoid reporting the insets in a different rotation to apps.

Bug: 415262076
Flag: com.android.window.flags.use_cached_insets_for_display_switch
Test: Disable auto rotation. Fold device in rotation 0. Press rotation
      button to rotate to 270 degree. Unfold device. Observe the insets
      from setOnApplyWindowInsetsListener.
Change-Id: Iafd82b28283826d486ed2ab8d86aa05392a6ee30
parent 27c41e49
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