Remove code mistakenly commited
This commit is contained in:
parent
fec86cacc8
commit
d118176a74
1 changed files with 1 additions and 4 deletions
|
@ -66,16 +66,13 @@ public class ApiTwentyEightPlus {
|
||||||
for (NotifiableMessage message : notif.getMessages()) {
|
for (NotifiableMessage message : notif.getMessages()) {
|
||||||
Icon userIcon = Icon.createWithBitmap(message.getSenderBitmap());
|
Icon userIcon = Icon.createWithBitmap(message.getSenderBitmap());
|
||||||
Person user = new Person.Builder().setName(message.getSender()).setIcon(userIcon).build();
|
Person user = new Person.Builder().setName(message.getSender()).setIcon(userIcon).build();
|
||||||
style.addMessage(message.getMessage(), message.getTime() * 1000, user);
|
style.addMessage(message.getMessage(), message.getTime(), user);
|
||||||
}
|
}
|
||||||
if (notif.isGroup()) {
|
if (notif.isGroup()) {
|
||||||
style.setConversationTitle(notif.getGroupTitle());
|
style.setConversationTitle(notif.getGroupTitle());
|
||||||
}
|
}
|
||||||
style.setGroupConversation(notif.isGroup());
|
style.setGroupConversation(notif.isGroup());
|
||||||
|
|
||||||
Log.e("System current time " + System.currentTimeMillis());
|
|
||||||
Log.e("Message timestamp " + notif.getMessages().get(0).getTime());
|
|
||||||
|
|
||||||
return new Notification.Builder(context, context.getString(R.string.notification_channel_id))
|
return new Notification.Builder(context, context.getString(R.string.notification_channel_id))
|
||||||
.setSmallIcon(R.drawable.topbar_chat_notification)
|
.setSmallIcon(R.drawable.topbar_chat_notification)
|
||||||
.setAutoCancel(true)
|
.setAutoCancel(true)
|
||||||
|
|
Loading…
Reference in a new issue