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

Commit 8dca8a73 authored by vadimt's avatar vadimt
Browse files

Not switching nav mode on a virtual device for now

Change-Id: Ie089638b6252073e5e495e87c7bc0d252a58e95f
parent dd165d2d
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");
    }