Skip to content

Commit

Permalink
fix: Forward Uri read permission from LaunchActivity to NewTransferAc…
Browse files Browse the repository at this point in the history
…tivity (#430)
  • Loading branch information
LouisCAD authored Feb 24, 2025
2 parents 5102882 + b5dbefb commit e308585
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 LaunchActivity : ComponentActivity() {
setClass(this@LaunchActivity, NewTransferActivity::class.java)
// We need NewMessageActivity to have its standard launchMode in the Manifest
// in order for FLAG_ACTIVITY_CLEAR_TOP to kill and recreate NewMessageActivity
setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)
setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP or Intent.FLAG_GRANT_READ_URI_PERMISSION)
}
}

Expand Down

0 comments on commit e308585

Please sign in to comment.