Skip to content

Conversation

@chingor13
Copy link
Contributor

@chingor13 chingor13 commented Jun 26, 2020

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).

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 26, 2020
@chingor13 chingor13 changed the title Android API usage Android API compatibility Jun 26, 2020
@chingor13 chingor13 changed the title Android API compatibility fix: Android API compatibility Jun 26, 2020
This is branched from the original implementation prior to switching to
NIO for Windows compatibility.
@chingor13 chingor13 changed the title fix: Android API compatibility feat: add Android compatible FileDataStoreFactory implementation Jun 26, 2020
@chingor13 chingor13 marked this pull request as ready for review June 26, 2020 22:50
@chingor13 chingor13 requested a review from a team as a code owner June 26, 2020 22:50
@chingor13 chingor13 changed the title feat: add Android compatible FileDataStoreFactory implementation feat: add Android 19 compatible FileDataStoreFactory implementation Jun 26, 2020
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+.
@chingor13 chingor13 requested a review from elharo June 29, 2020 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

google-http-client-android 1.31+ Posix crash

3 participants