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

Fix Scoped Storage (Android API 30 Requirement) #1

Merged
merged 5 commits into from
Nov 18, 2021

Conversation

davidofwatkins
Copy link

This contains the same changes/fixes from apache#215, but rebased against the latest upstream master. I've also addressed some of the open comments in that PR.

Ideally that will get merged soon and we can throw out this fork.

chriskhongqarma and others added 3 commits November 15, 2021 19:03
… storage, which will not be possible for app to access since Android 11
- mv xml/ -> res/xml/
- Use .mp4
- Remove unused intent arg
- Remove unused methods
- Remove unnecessary FLAG_GRANT_WRITE_URI_PERMISSION
// still need to capture more video clips
captureVideo(req);
}
if (req.results.length() >= req.limit) {

Choose a reason for hiding this comment

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

not sure if you would need to check for req.results != null && req.results.length....

Copy link
Author

Choose a reason for hiding this comment

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

I think this is okay since it was this way before; it was just moved.

Copy link

@felixdelacruzt felixdelacruzt left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link

@jorgetinoco jorgetinoco left a comment

Choose a reason for hiding this comment

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

LGTM!

@davidofwatkins
Copy link
Author

Thanks for the reviews @jorgetinoco and @felixdelacruzt!

@davidofwatkins davidofwatkins merged commit 713d4f0 into master Nov 18, 2021
@davidofwatkins davidofwatkins deleted the android-11-fix branch November 18, 2021 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants