From 8c6699906abcb80b494ada06e92f78f19a4cd096 Mon Sep 17 00:00:00 2001 From: Vania Januar Date: Fri, 24 Mar 2023 12:18:42 +0000 Subject: [PATCH] Fix broken test for stylus button Settings. Test was not negated when the Settings was renamed. Test: StylusDevicesControllerTest Bug: 267595764 Change-Id: Ic369d0fefe3f23a9489fe49eff8329e755988178 --- .../connecteddevice/stylus/StylusDevicesControllerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/robotests/src/com/android/settings/connecteddevice/stylus/StylusDevicesControllerTest.java b/tests/robotests/src/com/android/settings/connecteddevice/stylus/StylusDevicesControllerTest.java index 56a83733ca4..4ce547ff4c6 100644 --- a/tests/robotests/src/com/android/settings/connecteddevice/stylus/StylusDevicesControllerTest.java +++ b/tests/robotests/src/com/android/settings/connecteddevice/stylus/StylusDevicesControllerTest.java @@ -394,7 +394,7 @@ public class StylusDevicesControllerTest { assertThat(buttonsPref.isChecked()).isEqualTo(false); assertThat(Settings.Secure.getInt(mContext.getContentResolver(), - Secure.STYLUS_BUTTONS_ENABLED, -1)).isEqualTo(0); + Secure.STYLUS_BUTTONS_ENABLED, -1)).isEqualTo(1); } private void showScreen(StylusDevicesController controller) {