Skip to content

Commit d7900f0

Browse files
committed
Merge branch 'develop' into release/1.9.11
2 parents 53c2d95 + 1df8132 commit d7900f0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/src/main/assets/changelog.md

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Read the **FAQ** for issues regarding NSFW and notifications. Goto **Options** -
88
### Enhancements
99
- Improve notification experience @Luk1337
1010

11+
12+
1113
### Bug Fixes
1214
- Notification delivery on Android 12+. Thanks @Luk1337
1315

app/src/main/java/com/mxt/anitrend/util/NotificationUtil.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class NotificationUtil(
4444
context,
4545
defaultNotificationId,
4646
targetActivity,
47-
PendingIntent.FLAG_UPDATE_CURRENT
47+
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE
4848
)
4949
}
5050

@@ -57,7 +57,7 @@ class NotificationUtil(
5757
context,
5858
action.hashCode(),
5959
intent,
60-
PendingIntent.FLAG_UPDATE_CURRENT
60+
PendingIntent.FLAG_UPDATE_CURRENT or PendingIntent.FLAG_IMMUTABLE
6161
)
6262
}
6363

0 commit comments

Comments
 (0)