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

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

Merge "Not switching nav mode on a virtual device for now" into ub-launcher3-qt-dev

parents 203dde39 8dca8a73
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -111,7 +111,7 @@ public abstract class AbstractLauncherUiTest {
        mLauncher = new LauncherInstrumentation(instrumentation);

        // b/130558787; b/131419978
        if (TestHelpers.isInLauncherProcess()) {
        if (TestHelpers.isInLauncherProcess() && !LauncherInstrumentation.needSlowGestures()) {
            try {
                Class systemProps = Class.forName("android.os.SystemProperties");
                Method getInt = systemProps.getMethod("getInt", String.class, int.class);
+1 −1
Original line number Diff line number Diff line
@@ -191,7 +191,7 @@ public final class LauncherInstrumentation {
        return NavigationModel.THREE_BUTTON;
    }

    static boolean needSlowGestures() {
    public static boolean needSlowGestures() {
        return Build.MODEL.contains("Cuttlefish");
    }