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

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

Merge "Not swiping from nav bar from Overview to all apps" into ub-launcher3-master

parents 65f2396e 840ed216
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -18,8 +18,6 @@ package com.android.launcher3.tapl;

import static com.android.launcher3.TestProtocol.ALL_APPS_STATE_ORDINAL;

import android.graphics.Point;

import androidx.annotation.NonNull;
import androidx.test.uiautomator.UiObject2;

@@ -53,9 +51,9 @@ public final class Overview extends BaseOverview {

            // Swipe from navbar to the top.
            final UiObject2 navBar = mLauncher.waitForSystemUiObject("navigation_bar_frame");
            final Point start = navBar.getVisibleCenter();
            LauncherInstrumentation.log("Overview.switchToAllApps before swipe");
            mLauncher.swipe(start.x, start.y, start.x, 0, ALL_APPS_STATE_ORDINAL);
            final int x = navBar.getVisibleCenter().x;
            mLauncher.swipe(x, navBar.getVisibleBounds().top - 1, x, 0, ALL_APPS_STATE_ORDINAL);

            try (LauncherInstrumentation.Closable c1 = mLauncher.addContextLayer(
                    "swiped all way up from overview")) {