- // Query the exact file name if the API >= 26.
- if (Build.VERSION.SDK_INT >= 26) { // The API >= 26.
- // Get a cursor from the content resolver.
- val contentResolverCursor = activity.contentResolver.query(fileUri, null, null, null)
+ // Get a cursor from the content resolver.
+ val contentResolverCursor = activity.contentResolver.query(fileUri, null, null, null)