Handle general display size change for screen decorations
The display size change can happen not only from display mode change, such as IWindowManager#setForcedDisplaySize can override the display size without changing display mode. Because the natural(logical) display size also reflects the size change by display mode, it can handle both resizing cases. Bug: 288726181 Test: Switch screen size by "Settings > Display > Screen resolution" or "adb shell wm size 1440x3120" & "adb shell wm size reset". The cutout won't be flickering. Change-Id: Ibf50f74bd070705297fdb3e3b1e8846a1ea42c19
Loading
Please register or sign in to comment