summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-07-05 07:55:11 +0000
committer Riddle Hsu <riddlehsu@google.com> 2023-07-05 08:57:46 +0000
commit583bc7d5c0d58a13e66ca1c4a806d13a8710fc14 (patch)
treee47925b7ecdf9b72cb682b363c676567d5b243c4 /libs/androidfw/ApkParsing.cpp
parentbf1b4aa1bff13cb1497c3980a6db47c8eba2f59a (diff)
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
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions