Update PersistentNotificationPlugin.java
- remove double call from addMessage - add comments
This commit is contained in:
parent
7497eade82
commit
3310c6d618
|
@ -206,6 +206,7 @@ public class PersistentNotificationPlugin extends PluginBase {
|
|||
.setReadPendingIntent(msgReadPendingIntent)
|
||||
.setReplyAction(msgReplyPendingIntent, remoteInput);
|
||||
|
||||
/// Add dot to produce a "more natural sounding result"
|
||||
unreadConversationBuilder.addMessage(line1 + ". " + line2 + ". " + line3);
|
||||
/// End Android Auto
|
||||
|
||||
|
@ -229,7 +230,6 @@ public class PersistentNotificationPlugin extends PluginBase {
|
|||
/// Android Auto
|
||||
builder.extend(new NotificationCompat.CarExtender()
|
||||
.setUnreadConversation(unreadConversationBuilder.build()));
|
||||
unreadConversationBuilder.addMessage(line1+line2+line3);
|
||||
/// End Android Auto
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue