added low priority and removed date in foreground noticfication
This commit is contained in:
parent
3c6b3506e3
commit
bdc86bb8e3
|
@ -368,6 +368,8 @@ public class NotificationService {
|
||||||
mBuilder.setContentTitle(mXmppConnectionService.getString(R.string.conversations_foreground_service));
|
mBuilder.setContentTitle(mXmppConnectionService.getString(R.string.conversations_foreground_service));
|
||||||
mBuilder.setContentText(mXmppConnectionService.getString(R.string.touch_to_disable));
|
mBuilder.setContentText(mXmppConnectionService.getString(R.string.touch_to_disable));
|
||||||
mBuilder.setContentIntent(createDisableForeground());
|
mBuilder.setContentIntent(createDisableForeground());
|
||||||
|
mBuilder.setWhen(0);
|
||||||
|
mBuilder.setPriority(NotificationCompat.PRIORITY_MIN);
|
||||||
return mBuilder.build();
|
return mBuilder.build();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue