Skip to content

Commit

Permalink
fix: crash on creating notification on deploy failure on Android 12+
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiredPlanck committed Dec 31, 2024
1 parent d621271 commit c24ce82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/java/com/osfans/trime/daemon/RimeDaemon.kt
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,8 @@ object RimeDaemon {
appContext,
0,
intent,
PendingIntent.FLAG_UPDATE_CURRENT,
PendingIntent.FLAG_ONE_SHOT or
PendingIntent.FLAG_IMMUTABLE,
),
).setOngoing(false)
.setAutoCancel(true)
Expand Down

0 comments on commit c24ce82

Please sign in to comment.