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

Commit 4e3814a4 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix StemGestureTests." into main

parents 7532c68a c882df6a
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ import android.os.RemoteException;
import android.provider.Settings;
import android.view.Display;

import org.junit.Before;
import org.junit.Test;

/**
@@ -48,6 +49,13 @@ public class StemKeyGestureTests extends ShortcutKeyTestBase {

    private static final String TEST_TARGET_ACTIVITY = "com.android.server.policy/.TestActivity";

    @Before
    public void setup() {
        super.setup();
        overrideResource(com.android.internal.R.integer.config_longPressOnStemPrimaryBehavior,
                LONG_PRESS_PRIMARY_LAUNCH_VOICE_ASSISTANT);
    }

    /**
     * Stem single key should not launch behavior during set up.
     */