Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2203b13 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Removing drag handle from overview state

Change-Id: Icbd486857c1caf8f96e5afed2fcf3f2960f50692
parent 33f98496
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -164,13 +164,11 @@ public class OverviewState extends LauncherState {

    @Override
    public int getVisibleElements(Launcher launcher) {
        if (launcher.getDeviceProfile().isVerticalBarLayout()) {
            return VERTICAL_SWIPE_INDICATOR | RECENTS_CLEAR_ALL_BUTTON;
        } else {
        if (ENABLE_OVERVIEW_ACTIONS.get() && removeShelfFromOverview(launcher)) {
            return RECENTS_CLEAR_ALL_BUTTON;
        } else if (launcher.getDeviceProfile().isVerticalBarLayout()) {
            return VERTICAL_SWIPE_INDICATOR | RECENTS_CLEAR_ALL_BUTTON;
            }

        } else {
            boolean hasAllAppsHeaderExtra = launcher.getAppsView() != null
                    && launcher.getAppsView().getFloatingHeaderView().hasVisibleContent();
            return HOTSEAT_SEARCH_BOX | VERTICAL_SWIPE_INDICATOR | RECENTS_CLEAR_ALL_BUTTON |