Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

update downloads document cases #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

serweb-labs
Copy link

support more cases in provider com.android.providers.downloads.documents, applying some ideas taken from https://github.com/coltoscosmin/FileUtils/blob/master/FileUtils.java

  • fixed: added file check, I think the following case was never called.
  • possible uri added to the second case
  • try to download the content, this adds support to google drive documents (and possibly others) that are displayed under this provider if the file was recently used.
  • default return

support more cases in provider com.android.providers.downloads.documents, applying some ideas taken from https://github.com/coltoscosmin/FileUtils/blob/master/FileUtils.java

- fixed: added file check, I think the following case was never called.
- possible uri added to the second case
- try to download the content, this adds support to google drive documents (and possibly others) that are displayed under this provider if the file was recently used.
- default return
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant