Clear back stack and make this the top level stack.
Fixes b/5716835 back stack in email gets messed up in certain circumstances Change-Id: I6fb593a520931b16e973f025c00709f7e76bb4d9
This commit is contained in:
parent
a7d1b5c58c
commit
2df61456f4
@ -446,7 +446,7 @@ public class NotificationController {
|
||||
} else {
|
||||
intent = Welcome.createOpenMessageIntent(mContext, accountId, mailboxId, messageId);
|
||||
}
|
||||
|
||||
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
|
||||
long now = mClock.getTime();
|
||||
boolean enableAudio = (now - mLastMessageNotifyTime) > MIN_SOUND_INTERVAL_MS;
|
||||
Notification notification = createAccountNotification(
|
||||
|
Loading…
Reference in New Issue
Block a user