added low priority and removed date in foreground noticfication

This commit is contained in:
iNPUTmice 2014-11-12 17:33:24 +01:00
parent 3c6b3506e3
commit bdc86bb8e3
1 changed files with 2 additions and 0 deletions

View File

@ -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();
} }
} }