Merge "Notification settings update." into oc-dr1-dev

am: cd9224a058

Change-Id: I22d96e1d02f9a5a19f0eae1db368ad71d9de9b7b
This commit is contained in:
Alison Cichowlas
2017-06-19 15:10:02 +00:00
committed by android-build-merger
2 changed files with 25 additions and 19 deletions

View File

@@ -338,15 +338,15 @@ public class AppNotificationSettings extends NotificationSettingsBase {
case NotificationManager.IMPORTANCE_NONE:
return getContext().getString(R.string.notification_toggle_off);
case NotificationManager.IMPORTANCE_MIN:
return getContext().getString(R.string.notification_channel_summary_min);
return getContext().getString(R.string.notification_importance_min);
case NotificationManager.IMPORTANCE_LOW:
return getContext().getString(R.string.notification_channel_summary_low);
return getContext().getString(R.string.notification_importance_low);
case NotificationManager.IMPORTANCE_DEFAULT:
return getContext().getString(R.string.notification_channel_summary_default);
return getContext().getString(R.string.notification_importance_default);
case NotificationManager.IMPORTANCE_HIGH:
case NotificationManager.IMPORTANCE_MAX:
default:
return getContext().getString(R.string.notification_channel_summary_high);
return getContext().getString(R.string.notification_importance_high);
}
}