am 6d7eef22
: DO NOT MERGE. Fix issue where back stack is not cleared when opening email from a notification.
* commit '6d7eef22cd2634bd0da8de8e38635dd92b3e5a48': DO NOT MERGE. Fix issue where back stack is not cleared when opening email from a notification.
This commit is contained in:
commit
6c1214282a
@ -443,7 +443,7 @@ public class NotificationController {
|
|||||||
} else {
|
} else {
|
||||||
intent = Welcome.createOpenMessageIntent(mContext, accountId, mailboxId, messageId);
|
intent = Welcome.createOpenMessageIntent(mContext, accountId, mailboxId, messageId);
|
||||||
}
|
}
|
||||||
|
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
|
||||||
long now = mClock.getTime();
|
long now = mClock.getTime();
|
||||||
boolean enableAudio = (now - mLastMessageNotifyTime) > MIN_SOUND_INTERVAL_MS;
|
boolean enableAudio = (now - mLastMessageNotifyTime) > MIN_SOUND_INTERVAL_MS;
|
||||||
Notification notification = createAccountNotification(
|
Notification notification = createAccountNotification(
|
||||||
|
Loading…
Reference in New Issue
Block a user