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

Commit 3887500f authored by vadimt's avatar vadimt
Browse files

Reducing usage of magic constants in TAPL's widgets (fling back)

Bug: 123904290
Change-Id: I398ff2ebd418551e3fed825edf79398e32025859
parent b72cd262
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ public final class Widgets extends LauncherInstrumentation.VisibleContainer {
                "want to fling backwards in widgets")) {
            LauncherInstrumentation.log("Widgets.flingBackward enter");
            final UiObject2 widgetsContainer = verifyActiveContainer();
            mLauncher.scroll(widgetsContainer, Direction.UP, 1f, MARGINS, FLING_STEPS);
            mLauncher.scroll(widgetsContainer, Direction.UP, 1f, null, FLING_STEPS);
            try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("flung back")) {
                verifyActiveContainer();
            }