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

Switch to new ContentResolver query method for Recent files list #2995

Merged
merged 4 commits into from
Nov 9, 2021

Conversation

TranceLove
Copy link
Collaborator

Description

Solution found at https://stackoverflow.com/a/63551176.

ContentResolver.query(Uri, String[], Bundle, CancellationSignal) was actually introduced in API 26, but just let it be - make it available only from API 30 onwards.

Issue tracker

Fixes #2993

Automatic tests

  • Added test cases

Manual tests

  • Done

Build tasks success

Successfully running following tasks on local:

  • ./gradlew assembledebug
  • ./gradlew spotlessCheck

VishalNehra and others added 2 commits November 9, 2021 21:44
Fixes #2993.

Solution found at https://stackoverflow.com/a/63551176.

ContentResolver.query(Uri, String[], Bundle, CancellationSignal) was actually introduced in API 26, but just let it be - make it available only from API 30 onwards.
@TranceLove TranceLove added Issue-Bug Related unexpected behavior or something worth investigating. Issue-Severe (high) Showstopper issues that require immediate attention Environment-API30 This is for issue relating to issues after the lockdown of API 30 labels Nov 9, 2021
@TranceLove TranceLove added this to the v3.6.7 milestone Nov 9, 2021
@VishalNehra VishalNehra removed this from the v3.6.7 milestone Nov 9, 2021
VishalNehra
VishalNehra previously approved these changes Nov 9, 2021
@VishalNehra VishalNehra merged commit ca114be into hotfix/3.6.7 Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Environment-API30 This is for issue relating to issues after the lockdown of API 30 Issue-Bug Related unexpected behavior or something worth investigating. Issue-Severe (high) Showstopper issues that require immediate attention
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants