Merge "Adding a custom view for DragHandle" into ub-launcher3-master

This commit is contained in:
TreeHugger Robot
2018-03-26 23:03:53 +00:00
committed by Android (Google) Code Review
20 changed files with 348 additions and 225 deletions

View File

@@ -112,8 +112,9 @@ public class OverviewState extends LauncherState {
if (launcher.getDeviceProfile().isVerticalBarLayout()) {
return NONE;
} else {
return launcher.getAppsView().getFloatingHeaderView().hasVisibleContent()
? HOTSEAT_EXTRA | ALL_APPS_HEADER_EXTRA : HOTSEAT_ICONS | HOTSEAT_EXTRA;
return HOTSEAT_SEARCH_BOX | DRAG_HANDLE_INDICATOR |
(launcher.getAppsView().getFloatingHeaderView().hasVisibleContent()
? ALL_APPS_HEADER_EXTRA : HOTSEAT_ICONS);
}
}