Fixed issue with the bottom zone of launcher is not touchable.

Updated logic of the touch area configuration. Only add the taskbar
bounds if the taskbar is being shown inside the app or on overview.

Fixes: 358301278
Fixes: 361653416
Test: Manual:
http: //recall/-/gx8ASgewUeUS3QYohfrd1J/lpzJER3iGI5PpZrQqv7b7
Flag: com.android.wm.shell.enable_bubble_bar
Change-Id: Id9902058c5ec873dab6257a34b4c3a87aec5ae6b
This commit is contained in:
mpodolian
2024-08-23 16:43:37 -07:00
parent 3a47759619
commit dcd76d56c7
2 changed files with 11 additions and 8 deletions
@@ -424,6 +424,11 @@ public class TaskbarStashController implements TaskbarControllers.LoggableTaskba
return hasAnyFlag(FLAGS_IN_APP);
}
/** Returns whether the taskbar is currently in overview screen. */
public boolean isInOverview() {
return hasAnyFlag(FLAG_IN_OVERVIEW);
}
/**
* Returns the height that taskbar will be touchable.
*/