Loading res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -352,6 +352,8 @@ <!-- The button label for making the reminder alarms go away temporarily and re-fire in 5 minutes. [CHAR LIMIT=30]--> <string name="snooze_5min_label">"Snooze for 5 minutes"</string> <!-- Format string used when displaying the big text of a future/current event notification. [CHAR LIMIT=120] --> <string name="event_notification_big_text"><xliff:g id="summary">%1$s</xliff:g> \u2022 <xliff:g id="description">%2$s</xliff:g></string> <!-- Repetition dialog options: --> <skip/> Loading src/com/android/calendar/alerts/AlertReceiver.java +3 −5 Original line number Diff line number Diff line Loading @@ -258,11 +258,9 @@ public class AlertReceiver extends BroadcastReceiver { // Create an expanded notification. Notification.BigTextStyle expandedBuilder = new Notification.BigTextStyle( basicBuilder); SpannableStringBuilder stringBuilder = new SpannableStringBuilder(); stringBuilder.append(summaryText); stringBuilder.append("\n"); stringBuilder.append(description); expandedBuilder.bigText(stringBuilder); String text = context.getResources().getString( R.string.event_notification_big_text, summaryText, description); expandedBuilder.bigText(text); return expandedBuilder.build(); } } Loading Loading
res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -352,6 +352,8 @@ <!-- The button label for making the reminder alarms go away temporarily and re-fire in 5 minutes. [CHAR LIMIT=30]--> <string name="snooze_5min_label">"Snooze for 5 minutes"</string> <!-- Format string used when displaying the big text of a future/current event notification. [CHAR LIMIT=120] --> <string name="event_notification_big_text"><xliff:g id="summary">%1$s</xliff:g> \u2022 <xliff:g id="description">%2$s</xliff:g></string> <!-- Repetition dialog options: --> <skip/> Loading
src/com/android/calendar/alerts/AlertReceiver.java +3 −5 Original line number Diff line number Diff line Loading @@ -258,11 +258,9 @@ public class AlertReceiver extends BroadcastReceiver { // Create an expanded notification. Notification.BigTextStyle expandedBuilder = new Notification.BigTextStyle( basicBuilder); SpannableStringBuilder stringBuilder = new SpannableStringBuilder(); stringBuilder.append(summaryText); stringBuilder.append("\n"); stringBuilder.append(description); expandedBuilder.bigText(stringBuilder); String text = context.getResources().getString( R.string.event_notification_big_text, summaryText, description); expandedBuilder.bigText(text); return expandedBuilder.build(); } } Loading