Report lower insets for SUW if expressive theme enabled

This change addresses the desire to lower the footer for SUW content if
the expressive theme is enabled in SUW. This would remove the extra gap
at the bottom of the screen.

Fix: 409897759
Test: Enable expressive theme and relaunch SUW. Check that the bottom
buttons are closer to the bottom edge of the screen.
Flag: EXEMPT bugfix

Change-Id: I7a4961549ec888e57c89a564028843f1e8c0000b
This commit is contained in:
Saumya Prakash
2025-05-06 23:07:57 +00:00
parent 589dfc9672
commit 7adea11bfa
3 changed files with 51 additions and 8 deletions

View File

@@ -333,6 +333,15 @@ class TaskbarStashControllerTest {
.isEqualTo(context.resources.getDimensionPixelSize(R.dimen.taskbar_suw_insets))
}
@Test
@UserSetupMode
fun testGetContentHeightToReportToApps_inExpressiveTheme_setupWizardInsets() {
stashController.mShouldHideNavbarForTest = true
assertThat(stashController.contentHeightToReportToApps)
.isEqualTo(stashController.stashedHeight)
stashController.mShouldHideNavbarForTest = false
}
@Test
@TaskbarMode(PINNED)
fun testGetContentHeightToReportToApps_pinnedModeButFolded_stashedHeight() {