Skip to content
Commit d13e45bf authored by Tiger's avatar Tiger
Browse files

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
parent da896af6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment