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
This commit is contained in:
vadimt
2019-06-24 17:05:12 -07:00
parent 37dc5b1936
commit b8cb393f62
@@ -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;
}
}