summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-03-30 18:35:34 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-03-30 18:49:01 +0800
commit08a304912637c0fa55e087762bc40ca9df2fce56 (patch)
tree60147d4eaa0811eadd5ba1518a24ab0a5bdf3c25 /libs/input/SpriteController.cpp
parent525ddc37e4fb54ed3c9c7d45175aace3ae7f012c (diff)
Make sure display config is updated when cutout is changed
1. LocalDisplayAdapter.LocalDisplayDevice#updateDeviceInfoLocked posts to display thread when receiving onOverlayChanged. So the operation depends on it should run sequentially. 2. After updating latest display info, the cutout may affect the height of status bar, then it still needs to compute display config again after that for screenHeightDp. Bug: 222572231 Test: Toggle different types of cutout in developer options, Either: rotate the display, there won't be a blank area or switch to another activity, there won't have another display config change CONFIG_SCREEN_SIZE. Change-Id: I8bb53d846656c76666074c0dee0e3c1c8627e24b
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions