Merge "Reducing usage of magic constants in TAPL's widgets (fling back)" into ub-launcher3-qt-qpr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
8a2cb67d07
@@ -69,7 +69,7 @@ public final class Widgets extends LauncherInstrumentation.VisibleContainer {
|
|||||||
"want to fling backwards in widgets")) {
|
"want to fling backwards in widgets")) {
|
||||||
LauncherInstrumentation.log("Widgets.flingBackward enter");
|
LauncherInstrumentation.log("Widgets.flingBackward enter");
|
||||||
final UiObject2 widgetsContainer = verifyActiveContainer();
|
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")) {
|
try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer("flung back")) {
|
||||||
verifyActiveContainer();
|
verifyActiveContainer();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user