diff options
| author | 2023-02-13 18:58:02 +0800 | |
|---|---|---|
| committer | 2023-02-21 13:03:47 +0800 | |
| commit | d13e45bf2210e44adb1d4a3de5d2e5b827f529ef (patch) | |
| tree | 8549bd699ffb4952d7884eb73a76e37008773441 /libs/androidfw/ApkParsing.cpp | |
| parent | da896af69141ccfa25a92a8e45ce012b8b01041e (diff) | |
Use insetsRoundedCornerFrame to identify taskbar insets source
Previously, many places considered that the insets source with
ITYPE_EXTRA_NAVIGATION_BAR were provided by taskbar, which were
inaccurate, because ITYPE_EXTRA_NAVIGATION_BAR can be provided by other
sources. Also, we are going to remove internal insets types.
Thus, this CL uses InsetsSource#insetsRoundedCornerFrame to identify
expended taskbar instead, and we don't need to check the height of
taskbar anymore.
Bug: 234093736
Test: atest LetterboxUiControllerTest SizeCompatTests
Change-Id: I5561cade375a326f91a252b98d37d0950b25e00f
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions