mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-31 07:10:14 -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);
|
targetIntent = FolderList.actionHandleNotification(context, account, initialFolder);
|
||||||
}
|
}
|
||||||
|
|
||||||
PendingIntent pi = PendingIntent.getActivity(context, 0, targetIntent, PendingIntent.FLAG_UPDATE_CURRENT);
|
builder.setContentIntent(PendingIntent.getActivity(context,
|
||||||
builder.setContentIntent(pi);
|
account.getAccountNumber(), targetIntent, PendingIntent.FLAG_UPDATE_CURRENT));
|
||||||
builder.setDeleteIntent(NotificationActionService.getAcknowledgeIntent(context, account));
|
builder.setDeleteIntent(NotificationActionService.getAcknowledgeIntent(context, account));
|
||||||
|
|
||||||
// Only ring or vibrate if we have not done so already on this account and fetch
|
// Only ring or vibrate if we have not done so already on this account and fetch
|
||||||
|
Loading…
Reference in New Issue
Block a user