Use the standard directory for file downloads. Fixes #291 #292
No reviewers
Labels
No Label
dependencies
info:feedback-needed
info:help-needed
prio:high
prio:low
prio:normal
status:confirmed
status:deferred
status:fix-committed
status:incomplete
status:in-progress
status:rejected
type:bug
type:discussion
type:feature
type:improvement
type:invalid
type:support
type:task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Marown/SWADroid#292
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/download-files-android-11"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What changes were proposed in this pull request?
Build.VERSION_CODES.Q
or above,WRITE_EXTERNAL_STORAGE
permission is not needed and the dirType must be one of the known public directories likeEnvironment#DIRECTORY_DOWNLOADS, Environment#DIRECTORY_PICTURES, Environment#DIRECTORY_MOVIES
, etc.How was this patch tested?
Manually. Tested on Android 11 (API 30) and Android 7 (API 24).