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:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user