Supposedly, if I don’t have permission, this should throw a
RecoverableSecurityException
on Android Q, and I should be able to use an IntentSender to have the user grant permission.
Instead, I just get a result of
0
from the
delete()
call, meaning no files were deleted.
Any ideas?
t
tseisel
04/03/2020, 6:55 AM
I have had the exact same problem a few months ago. This only works if you specify the full Uri of the Media you'd like to delete, the one obtainable with