Merge "TAPL: swiping up from workspace always starts at the screen bottom" into ub-launcher3-qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a90531cd00
@@ -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