Merge "TAPL: swiping up from workspace always starts at the screen bottom" into ub-launcher3-qt-dev
am: a90531cd00
Change-Id: I2fd88e98da320efe49145b7e899a418481cc3514
This commit is contained in:
@@ -213,8 +213,6 @@ public final class Workspace extends Home {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected int getSwipeStartY() {
|
protected int getSwipeStartY() {
|
||||||
return mLauncher.getDevice().isNaturalOrientation() ?
|
return mLauncher.getRealDisplaySize().y - 1;
|
||||||
mLauncher.waitForLauncherObject("hotseat").getVisibleBounds().top
|
|
||||||
: mLauncher.getRealDisplaySize().y - 1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user