Skip to content
Commit 583bc7d5 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent bf1b4aa1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment