summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.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-07-28 10:45:07 +0000
commit494547431fdff4bde9f2f45367c6e4741380ea7c (patch)
treee09580768cde522a14c9c598d643c7d089c537e1 /libs/androidfw/ObbFile.cpp
parent0ba161ace6cff7fcdfd16f7e3ce543a2f1e85711 (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. Also includes Ieedcc6388237b7feccd8a869105a5f8e70ff4afd to ensure insets in non-current rotation are updated. Fix: 259693044 Test: DisplayPolicyTests#testUpdateDisplayConfigurationByDecor Merged-In: Idaa7280ed23076b3282c987a249259e0c38b6630 Change-Id: Idaa7280ed23076b3282c987a249259e0c38b6630 (cherry picked from commit e3d243d3e7740bd856e2ba5ce53802c39b3cc341)
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions