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

Commit b8cb393f authored by vadimt's avatar vadimt
Browse files

TAPL: swiping up from workspace always starts at the screen bottom

This avoids accidentally dragging an icon from hotseat on ultra-slow
devices.

Change-Id: Id2378a25972bc17dd227e7c227bf963fd1c0e4b2
parent 37dc5b19
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -213,8 +213,6 @@ public final class Workspace extends Home {

    @Override
    protected int getSwipeStartY() {
        return mLauncher.getDevice().isNaturalOrientation() ?
                mLauncher.waitForLauncherObject("hotseat").getVisibleBounds().top
                : mLauncher.getRealDisplaySize().y - 1;
        return mLauncher.getRealDisplaySize().y - 1;
    }
}
 No newline at end of file