Solves issues when creating or removing shares, at which point the file would be re-set to the root folder
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
This makes it so that the folder loads even without granting storage permission, which is the expected behaviour now
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
- Allow users to choose between MANAGE_EXTERNAL_STORAGE (full access) and READ_EXTERNAL_STORAGE (media read-only) in sdk >=30, with a dialog
- If All Files is not available (activity to manage not present, or permission not in manifest), request READ_EXTERNAL_STORAGE instead
- Misc improvements to permission request in UploadFilesActivity and SyncedFoldersActivity
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
Hide checkboxes and keep choose button enabled. The flow to select folders is to navigate into them and tap "Choose", as is typical in file browsers.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
Android Studio has started to fail for some stuff with that old structure (for example connected tests don't work).
It's about time to do this.
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>