Fix broken test for stylus button Settings.

Test was not negated when the Settings was renamed.

Test: StylusDevicesControllerTest
Bug: 267595764
Change-Id: Ic369d0fefe3f23a9489fe49eff8329e755988178
This commit is contained in:
Vania Januar
2023-03-24 12:18:42 +00:00
parent d1d2374b89
commit 8c6699906a

View File

@@ -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) {