mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-16 06:25:06 -05:00
Merge pull request #225 from maniac103/fix-multiaccount-notification
Fix notification click behaviour for multiple accounts.
This commit is contained in:
commit
bdf2283ef4
@ -4822,8 +4822,8 @@ public class MessagingController implements Runnable {
|
||||
targetIntent = FolderList.actionHandleNotification(context, account, initialFolder);
|
||||
}
|
||||
|
||||
PendingIntent pi = PendingIntent.getActivity(context, 0, targetIntent, PendingIntent.FLAG_UPDATE_CURRENT);
|
||||
builder.setContentIntent(pi);
|
||||
builder.setContentIntent(PendingIntent.getActivity(context,
|
||||
account.getAccountNumber(), targetIntent, PendingIntent.FLAG_UPDATE_CURRENT));
|
||||
builder.setDeleteIntent(NotificationActionService.getAcknowledgeIntent(context, account));
|
||||
|
||||
// Only ring or vibrate if we have not done so already on this account and fetch
|
||||
|
Loading…
Reference in New Issue
Block a user