summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Anton Potapov <apotapov@google.com> 2024-09-11 15:04:24 +0100
committer Anton Potapov <apotapov@google.com> 2024-09-11 15:04:24 +0100
commit4c6e54230eb535f730fbe20b02357e2e5d780b2e (patch)
treefc801198f44193110789a9212b53577a7f0c07b8 /libs/androidfw/StringPool.cpp
parent5620e115b93654c2891ed9e9f45b6c68333edf43 (diff)
Use platform WindowMetrics to get window bounds
Getting current insets is a long operation. This is why platform WindowMetricsController provides WindowMetrics with insetsProvider instead of resolving those inplace. AndroidX WindowMetricsCalculator resolves those insets when translates platform WindowMetrics to their androidX counterpart, which causes a framedrop. This change swaps androidX implementation with native one because we only need screen bounds to determine its size. Flag: EXEMPT bugfix Fixes: 363545395 Test: atest VolumePanelScreenshotTest Test: manual on foldable Change-Id: Ie1bd7a666097be6714b3a8a0134302e4d59ba58c
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions