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:
@@ -394,7 +394,7 @@ public class StylusDevicesControllerTest {
|
|||||||
|
|
||||||
assertThat(buttonsPref.isChecked()).isEqualTo(false);
|
assertThat(buttonsPref.isChecked()).isEqualTo(false);
|
||||||
assertThat(Settings.Secure.getInt(mContext.getContentResolver(),
|
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) {
|
private void showScreen(StylusDevicesController controller) {
|
||||||
|
|||||||
Reference in New Issue
Block a user