Skip to content

Commit

Permalink
use FLAG_IMMUTABLE creating pending intent in apk installer (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
atavism authored Apr 11, 2024
1 parent 775d6d0 commit f9ab144
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class ApkInstaller(
private fun createIntentSender(sessionId: Int): IntentSender {
val broadcastIntent = Intent(PACKAGE_INSTALLED_ACTION)
val flags = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
PendingIntent.FLAG_MUTABLE
PendingIntent.FLAG_IMMUTABLE
} else {
0
}
Expand Down

0 comments on commit f9ab144

Please sign in to comment.