mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
Remove insets due to Taskbar, except on workspace elements
Test: go to all apps, ensure no bottom insets/limited nav bar protection; go to overview, ensure no extra bottom padding Bug: 171917176 Change-Id: I09dc589e1cb8d3b673bf2b38e42284557413e011
This commit is contained in:
@@ -395,7 +395,8 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo
|
||||
@Override
|
||||
public WindowInsets dispatchApplyWindowInsets(WindowInsets insets) {
|
||||
if (Utilities.ATLEAST_Q) {
|
||||
mNavBarScrimHeight = insets.getTappableElementInsets().bottom;
|
||||
mNavBarScrimHeight = insets.getTappableElementInsets().bottom
|
||||
- mLauncher.getDeviceProfile().nonOverlappingTaskbarInset;
|
||||
} else {
|
||||
mNavBarScrimHeight = insets.getStableInsetBottom();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user