mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Merge "Tapl Widgets: Don't use container width as gesture margin" into sc-v2-dev am: 79350ef1bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16365181 Change-Id: I2d7400327fc04cf07b872a0769095dfd7859cd46
This commit is contained in:
@@ -77,7 +77,8 @@ public final class Widgets extends LauncherInstrumentation.VisibleContainer {
|
||||
mLauncher.scroll(
|
||||
widgetsContainer,
|
||||
Direction.UP,
|
||||
new Rect(0, 0, mLauncher.getVisibleBounds(widgetsContainer).width(), 0),
|
||||
new Rect(0, 0, mLauncher.getRightGestureMarginInContainer(widgetsContainer) + 1,
|
||||
0),
|
||||
FLING_STEPS, false);
|
||||
try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("flung back")) {
|
||||
verifyActiveContainer();
|
||||
|
||||
Reference in New Issue
Block a user