-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
… 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) { |
There was a problem hiding this comment.
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....
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks for the reviews @jorgetinoco and @felixdelacruzt! |
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.