I was planning to query the MediaStore.Images.Media.BUCKET_DISPLAY_NAME field, but Android Studio says it's only available on API 29+. Also, the Android docs say the same.
However, I have found this StackOverflow post from 2017 when they used this same field.
What am I missing here?
Thank you.
EDIT: I also tried it on an Android 9.0 emulator and it works just fine.