Skip to content

Commit

Permalink
fix(health-sdk): Fix mutability of PendingIntent
Browse files Browse the repository at this point in the history
IPC-290
  • Loading branch information
danicretu committed Jul 1, 2024
1 parent 2831ca8 commit 73110f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ class ReviewFragment private constructor(
private fun createSharePendingIntent() = PendingIntent.getBroadcast(
requireContext(), CHOOSER_REQUEST_ID,
Intent(requireContext(), ShareWithBroadcastReceiver::class.java),
PendingIntent.FLAG_MUTABLE or PendingIntent.FLAG_UPDATE_CURRENT
PendingIntent.FLAG_IMMUTABLE
)

override fun onSaveInstanceState(outState: Bundle) {
Expand Down

0 comments on commit 73110f2

Please sign in to comment.