Skip to content
Snippets Groups Projects
  1. Feb 06, 2025
    • Duncan McNamara's avatar
      Permissions: fix media showing without permission · 2efa09cb
      Duncan McNamara authored and Nicolas Pomepuy's avatar Nicolas Pomepuy committed
      In the case of the VideoGridFragment, canReadVideos will always return
      true below API 33, showing media if there were media indexed before
      revoking file permissions.
      
      On android 11 an 12 (API 30/31/32) when media permission only,
      isExternalStorageManager will return false, but checking for
      READ_EXTERNAL_STORAGE will return true.
      
      On Android API 33+, if given only audio or video permission,
      READ_EXTERNAL_STORAGE will also return true meaning that the check must
      be restrained to API 30/31/32,
      
      Furthermore, for API 30/31/32, isExternalStorageManager also needs to be
      checked for when the app has full access.
      
      Fixes #3129
      2efa09cb
  2. Feb 05, 2025
  3. Feb 03, 2025
  4. Jan 31, 2025
  5. Jan 29, 2025
  6. Jan 28, 2025
  7. Jan 27, 2025
  8. Jan 22, 2025
  9. Jan 21, 2025
Loading