-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Bypassed Storage Permission Check for Shared Images #6543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
d51ddb9
2b7e032
34025e6
f7e67c6
b8f3568
a1fcbe9
4237070
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -311,9 +311,20 @@ class UploadActivity : BaseActivity(), UploadContract.View, UploadBaseFragment.C | |||||||
| } | ||||||||
|
|
||||||||
| private fun checkStoragePermissions() { | ||||||||
| // The share intent provides files via content uris with temporary read permissions, | ||||||||
| // so we do not need to obtain storage permissions | ||||||||
| val action = intent.action | ||||||||
| if (Intent.ACTION_SEND == action || Intent.ACTION_SEND_MULTIPLE == action) { | ||||||||
|
||||||||
| if (Intent.ACTION_SEND == action || Intent.ACTION_SEND_MULTIPLE == action) { | |
| if (Intent.ACTION_SEND == action || Intent.ACTION_SEND_MULTIPLE == action) { | |
| binding.cvContainerTopCard.visibility = View.VISIBLE |
Uh oh!
There was an error while loading. Please reload this page.