summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimationUtil.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-04-25 12:28:05 +0000
committer Riddle Hsu <riddlehsu@google.com> 2023-04-25 13:42:45 +0000
commite3d243d3e7740bd856e2ba5ce53802c39b3cc341 (patch)
treec5fb8d703574bb6897091cb30ebb971db216365c /cmds/bootanimation/BootAnimationUtil.cpp
parentf0a411d69cea73756492e97a4ae86c7b06315fc8 (diff)
Update config according to insets of status bar
Previously, only cutout and navbar are included, so only the change of decor frame may trigger config change. But screenWidthDp and screenHeightDp are calculated according to config (stable) frame, which includes the insets from status bar. So this change makes the display configuration consistent with the latest state of the display decor insets. Fix: 259693044 Test: DisplayPolicyTests#testUpdateDisplayConfigurationByDecor Change-Id: Idaa7280ed23076b3282c987a249259e0c38b6630
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions