Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of EXT_DIR with Android API 29 #208

Merged
merged 4 commits into from
Nov 7, 2019
Merged

Use of EXT_DIR with Android API 29 #208

merged 4 commits into from
Nov 7, 2019

Conversation

roedll
Copy link
Contributor

@roedll roedll commented Nov 5, 2019

When resolving the "EXT_DIR" variable the method Environment.getExternalStorageDirectory() is used.
As of Android API 29 this method is useless and deprecated (see the docs for details).

This patch replaces the usages of "getExternalStorageDirectory" with the proposed alternative Context.getExternalFilesDir()

@roedll
Copy link
Contributor Author

roedll commented Nov 5, 2019

Can anyone please help me with fixing the Travis build?
Seems to be related with the uppgraded SDK version...

@roedll
Copy link
Contributor Author

roedll commented Nov 5, 2019

Seems to work now... ;-)

Copy link
Owner

@tony19 tony19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Just a few minor requests.

@roedll roedll requested a review from tony19 November 6, 2019 10:36
@tony19 tony19 merged commit e65d640 into tony19:master Nov 7, 2019
@lock
Copy link

lock bot commented Dec 7, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the archived label Dec 7, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Dec 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants