Skip to content

Commit

Permalink
fix: added mutability flag to PendingIntents for lint to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
JuancaG05 committed Nov 6, 2024
1 parent 488bf91 commit 686ca27
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ class DownloadFileWorker(
appContext,
System.currentTimeMillis().toInt(),
updateCredentialsIntent,
PendingIntent.FLAG_ONE_SHOT
PendingIntent.FLAG_ONE_SHOT or PendingIntent.FLAG_IMMUTABLE
)
}

Expand All @@ -326,7 +326,7 @@ class DownloadFileWorker(
appContext,
System.currentTimeMillis().toInt(),
showDetailsIntent,
0
PendingIntent.FLAG_IMMUTABLE
)
}

Expand Down

0 comments on commit 686ca27

Please sign in to comment.