GeezerVison is showing github.com — feat: add Android 19 compatible FileDataStoreFactory implementation by chingor13 · Pull Request #1070 · googleapis/google-http-java-client
Conversation
chingor13
commented
Jun 26, 2020
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Fixes #906
- Adds an Android compatible FileDataStoreFactory implementation (version prior to switching to NIO) in the google-http-client-android extensions artifact
- Adds a note in the core FileDataStoreFactory to use the new version on Android API level < 26
- Adds an animal-sniffer check for Android API level 19 (Ignores the NIO Files API usage).
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This is branched from the original implementation prior to switching to
NIO for Windows compatibility.
chingor13
changed the title
fix: Android API compatibility
feat: add Android compatible FileDataStoreFactory implementation
Jun 26, 2020
chingor13
changed the title
feat: add Android compatible FileDataStoreFactory implementation
feat: add Android 19 compatible FileDataStoreFactory implementation
Jun 26, 2020
Uh oh!
There was an error while loading. Please reload this page.
File setReadable(), setWritable(), setExecutable() was added in API
level 9, so we should not need to protect android users from missing
methods as we support Android API 19+.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
1 more reviewer
elharo
elharo approved these changes
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
cla: yes
This human has signed the Contributor License Agreement.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.