Update Prevent Ringing summary when it turn off

Bug: 187145174
Test: manual & robotest
Change-Id: Ifc06a38ff65f084db2803c56b5a37224c5b9b810
This commit is contained in:
Edgar Wang
2021-05-06 01:44:50 +08:00
parent c3dc96ebc3
commit aa48592b40
2 changed files with 4 additions and 2 deletions

View File

@@ -92,8 +92,9 @@ public class PreventRingingParentPreferenceController extends TogglePreferenceCo
case VOLUME_HUSH_MUTE:
summary = mContext.getText(R.string.prevent_ringing_option_mute_summary);
break;
// VOLUME_HUSH_OFF
default:
summary = null;
summary = mContext.getText(R.string.switch_off_text);
}
preference.setSummary(summary);
}