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