GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add Android 19 compatible FileDataStoreFactory implementation by chingor13 · Pull Request #1070 · googleapis/google-http-java-client

Conversation

@chingor13

@chingor13 chingor13 commented Jun 26, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

All reactions
chingor13 added 2 commits June 26, 2020 14:40
@chingor13
ci: add a animal sniffer check configuration for Android API level 19
0d4bc5c
@chingor13
build(deps): update animal-sniffer-maven-plugin version
a8537c9
@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
chingor13 added 2 commits June 26, 2020 15:04
@chingor13
feat: add Android comptible FileDataStoreFactory implementation
cdaf1ea
This is branched from the original implementation prior to switching to
NIO for Windows compatibility.
@chingor13
ci: allow java.nio.file in google-http-client
e90753a
@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 June 26, 2020 22:50
chingor13 added 2 commits June 26, 2020 15:58
@chingor13
chore: fix lint
9e52cce
@chingor13
build: put animal-sniffer-maven-plugin back to 1.17
ef67a51
@chingor13 chingor13 changed the title feat: add Android compatible FileDataStoreFactory implementation feat: add Android 19 compatible FileDataStoreFactory implementation Jun 26, 2020
elharo
elharo reviewed Jun 27, 2020
View reviewed changes
Comment thread .../src/main/java/com/google/api/client/extensions/android/util/store/FileDataStoreFactory.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

chingor13 added 2 commits June 29, 2020 14:31
@chingor13
fix: remove reflection from file permission settings
ac2e9d2
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
chore: run formatter
932e50a
@chingor13
chingor13 requested a review from elharo June 29, 2020 21:56
elharo
elharo reviewed Jun 29, 2020
View reviewed changes
Comment thread .../src/main/java/com/google/api/client/extensions/android/util/store/FileDataStoreFactory.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread .../src/main/java/com/google/api/client/extensions/android/util/store/FileDataStoreFactory.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

chingor13 added 2 commits June 29, 2020 15:54
@chingor13
chore: remove docs mentioning Java 1.5
da13906
@chingor13
fix: move member assignment after input validation
a3868b0
elharo
elharo approved these changes Jun 30, 2020
View reviewed changes
@chingor13
chingor13 merged commit 1150acd into googleapis:master Jun 30, 2020
gcf-merge-on-green Bot pushed a commit that referenced this pull request Jul 1, 2020
@release-please
chore: release 1.36.0 (#1073)
8ea3348
🤖 I have created a release \*beep\* \*boop\* 
---
## [1.36.0](https://www.github.com/googleapis/google-http-java-client/compare/v1.35.0...v1.36.0) (2020-06-30)


### Features

* add Android 19 compatible FileDataStoreFactory implementation ([#1070](https://www.github.com/googleapis/google-http-java-client/issues/1070)) ([1150acd](https://www.github.com/googleapis/google-http-java-client/commit/1150acd38aa3139eea4f2f718545c20d2493877e))


### Bug Fixes

* restore the thread's interrupted status after catching InterruptedException ([#1005](https://www.github.com/googleapis/google-http-java-client/issues/1005)) ([#1006](https://www.github.com/googleapis/google-http-java-client/issues/1006)) ([0a73a46](https://www.github.com/googleapis/google-http-java-client/commit/0a73a4628b6ec4420db6b9cdbcc68899f3807c5b))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@elharo 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.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

google-http-client-android 1.31+ Posix crash

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@chingor13 @elharo @googlebot
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.