Loading services/tests/wmtests/src/com/android/server/policy/StemKeyGestureTests.java +8 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,7 @@ import android.os.RemoteException; import android.provider.Settings; import android.view.Display; import org.junit.Before; import org.junit.Test; /** Loading @@ -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. */ Loading Loading
services/tests/wmtests/src/com/android/server/policy/StemKeyGestureTests.java +8 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,7 @@ import android.os.RemoteException; import android.provider.Settings; import android.view.Display; import org.junit.Before; import org.junit.Test; /** Loading @@ -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. */ Loading