libaums icon indicating copy to clipboard operation
libaums copied to clipboard

MainActivity should use ContentResolver for browsing

Open ChernyshovYuriy opened this issue 5 years ago • 0 comments

Current implementation of adapter to the drawer conflicts with permission handling mechanism at StorageProvider. In fact, usb receiver never receives permission related event because it is handled at StorageManager. For this reason, ContentResolver should be used to get content of granted usb device. Or, to introduce less changes, to listen to root changes from content provider and get is as "device attached / detached". Otherwise, current logic doesn't work as is.

ChernyshovYuriy avatar Feb 12 '21 15:02 ChernyshovYuriy