pebbleNotification - interaction format changed to handle better line changing
This commit is contained in:
parent
1f0f184a19
commit
5ecb337496
|
@ -1437,11 +1437,14 @@ public final class TwidereDataProvider extends ContentProvider implements Consta
|
|||
if (TextUtils.isEmpty(summary)) {
|
||||
style.addLine(message.getTitle());
|
||||
pebbleNotificationStringBuilder.append(message.getTitle());
|
||||
pebbleNotificationStringBuilder.append("\n");
|
||||
} else {
|
||||
style.addLine(SpanFormatter.format(resources.getString(R.string.title_summary_line_format),
|
||||
message.getTitle(), summary));
|
||||
pebbleNotificationStringBuilder.append(SpanFormatter.format(resources.getString(R.string.title_summary_line_format),
|
||||
message.getTitle(), summary));
|
||||
pebbleNotificationStringBuilder.append(message.getTitle());
|
||||
pebbleNotificationStringBuilder.append(": ");
|
||||
pebbleNotificationStringBuilder.append(message.getSummary());
|
||||
pebbleNotificationStringBuilder.append("\n");
|
||||
}
|
||||
messageLines++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue