File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -192,10 +192,7 @@ class NotificationDisplayManager {
192
192
// The intent data URL is distinct for each conversation, so this value
193
193
// doesn't matter.
194
194
requestCode: 0 ,
195
-
196
- // TODO is setting PendingIntentFlag.updateCurrent OK?
197
- // (That's a legacy of `flutter_local_notifications`.)
198
- flags: PendingIntentFlag .immutable | PendingIntentFlag .updateCurrent,
195
+ flags: PendingIntentFlag .immutable,
199
196
intent: AndroidIntent (
200
197
action: IntentAction .view,
201
198
dataUrl: intentDataUrl.toString (),
Original file line number Diff line number Diff line change @@ -225,8 +225,7 @@ void main() {
225
225
final expectedGroupKey = '${data .realmUrl }|${data .userId }' ;
226
226
final expectedId =
227
227
NotificationDisplayManager .notificationIdAsHashOf (expectedTag);
228
- const expectedIntentFlags =
229
- PendingIntentFlag .immutable | PendingIntentFlag .updateCurrent;
228
+ const expectedIntentFlags = PendingIntentFlag .immutable;
230
229
final expectedSelfUserKey = '${data .realmUrl }|${data .userId }' ;
231
230
final expectedIntentDataUrl = NotificationOpenPayload (
232
231
realmUrl: data.realmUrl,
You can’t perform that action at this time.
0 commit comments