Update Prevent Ringing summary when it turn off
Bug: 187145174 Test: manual & robotest Change-Id: Ifc06a38ff65f084db2803c56b5a37224c5b9b810
This commit is contained in:
@@ -97,7 +97,8 @@ public class PreventRingingParentPreferenceControllerTest {
|
||||
Settings.Secure.putInt(mContext.getContentResolver(), VOLUME_HUSH_GESTURE,
|
||||
VOLUME_HUSH_OFF);
|
||||
mController.updateState(mPreference);
|
||||
assertThat(mPreference.getSummary()).isEqualTo(null);
|
||||
assertThat(mPreference.getSummary()).isEqualTo(mContext.getResources().getText(
|
||||
R.string.switch_off_text));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user