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

Commit a06c880b authored by Vadim Tryshev's avatar Vadim Tryshev Committed by Android (Google) Code Review
Browse files

Merge "TAPL: increasing FLINGS_FOR_DISMISS_LIMIT" into ub-launcher3-master

parents 969e7a6c bae58982
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ import java.util.List;
 */
public class BaseOverview extends LauncherInstrumentation.VisibleContainer {
    private static final int FLING_SPEED = 1500;
    private static final int FLINGS_FOR_DISMISS_LIMIT = 5;
    private static final int FLINGS_FOR_DISMISS_LIMIT = 40;

    BaseOverview(LauncherInstrumentation launcher) {
        super(launcher);
@@ -60,7 +60,7 @@ public class BaseOverview extends LauncherInstrumentation.VisibleContainer {
        final BySelector clearAllSelector = mLauncher.getLauncherObjectSelector("clear_all");
        for (int i = 0;
                i < FLINGS_FOR_DISMISS_LIMIT
                        && verifyActiveContainer().findObject(clearAllSelector) == null;
                        && !verifyActiveContainer().hasObject(clearAllSelector);
                ++i) {
            flingForward();
        }