Update custom zen settings "off" string
zen_mode_sound_summary_off should only be used when describing the number of schedules that are enabled (and requires a numeric parameter). Instead, use the string "off" when a sound isn't enabled by a custom dnd setting. Fixes: 189120026 Test: manual Change-Id: I8bc180353a61455b124801d14f0d319f49bb341c
This commit is contained in:
@@ -274,7 +274,7 @@ public class ZenModeSettingsFooterPreferenceController extends AbstractZenModePr
|
|||||||
}
|
}
|
||||||
|
|
||||||
private int getAllowRes(boolean allow) {
|
private int getAllowRes(boolean allow) {
|
||||||
return allow ? R.string.zen_mode_sound_summary_on : R.string.zen_mode_sound_summary_off;
|
return allow ? R.string.zen_mode_sound_summary_on : R.string.switch_off_text;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user