Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60bbc7c7 authored by Prabir Pradhan's avatar Prabir Pradhan Committed by Automerger Merge Worker
Browse files

Merge "Tapl Widgets: Don't use container width as gesture margin" into sc-v2-dev am: 79350ef1

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/16365181

Change-Id: I2d7400327fc04cf07b872a0769095dfd7859cd46
parents 49e41497 79350ef1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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();