Make taskbar touchable region smaller in Overview

While in overview, makes the touchable region smaller so touches can go to the window below and trigger tapping on overview to go home.

Bug: 269985301
Test: Manual (TAPL in a following CL)
Flag: none
Change-Id: Ie8c7719090c387f951d78cf0fc47e6d9ed192f27
This commit is contained in:
Thales Lima committed 2023-05-11 14:45:41 +00:00
1 parent b33a2e0762
commit 3bc763f5a3
2 files changed
+16 -1

No files matched your search

@@ -424,6 +424,10 @@ public class TaskbarLauncherStateController {
// We're changing state to home, should close open popups e.g. Taskbar AllApps
handleOpenFloatingViews = true;
}
if (mLauncherState == LauncherState.OVERVIEW) {
// Calling to update the insets in TaskbarInsetController#updateInsetsTouchability
mControllers.taskbarActivityContext.notifyUpdateLayoutParams();
}
}
if (hasAnyFlag(changedFlags, FLAGS_LAUNCHER_ACTIVE)) {