TF-1811 Store email when receive in background for Android
(cherry picked from commit bdba8599afc95171124527b623812f998dc6e604)
This commit is contained in:
@@ -107,6 +107,10 @@ class EmailChangeListener extends ChangeListener {
|
||||
}
|
||||
} else if (action is PushNotificationAction) {
|
||||
_pushNotificationAction(action.newState, action.accountId, action.userName, action.session);
|
||||
|
||||
if (FcmUtils.instance.isMobileAndroid) {
|
||||
_getNewReceiveEmailFromNotificationAction(action.session, action.accountId, action.newState);
|
||||
}
|
||||
} else if (action is StoreEmailStateToRefreshAction) {
|
||||
if (FcmUtils.instance.isMobileAndroid) {
|
||||
_handleRemoveNotificationWhenEmailMarkAsRead(action.newState, action.accountId, action.session);
|
||||
|
||||
Reference in New Issue
Block a user