mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-12 06:08:25 -05:00
When a new mail alert is alerting about a specific mailbox rather than
inbox, default to having it open that mailbox. Patch from thardie
This commit is contained in:
parent
745ff494fb
commit
a2fe3bda34
@ -4630,7 +4630,7 @@ public class MessagingController implements Runnable
|
||||
Notification notif = new Notification(R.drawable.stat_notify_email_generic, messageNotice, System.currentTimeMillis());
|
||||
notif.number = previousUnreadMessageCount + newMessageCount.get();
|
||||
|
||||
Intent i = FolderList.actionHandleNotification(context, account, account.getAutoExpandFolderName());
|
||||
Intent i = FolderList.actionHandleNotification(context, account, message.getFolder().getName());
|
||||
PendingIntent pi = PendingIntent.getActivity(context, 0, i, 0);
|
||||
|
||||
String accountNotice = context.getString(R.string.notification_new_one_account_fmt, notif.number, account.getDescription());
|
||||
|
Loading…
Reference in New Issue
Block a user