forked from upstream-mirrors/OpenTracks
Change handling of Uri and DocumentFile handling for #1080
The Uris from Intent.getData() and DocumentFile.getUri() seems to be different. I think PreferencesUtils should only work with the original Uri as well as the permission handling logic. IntentUtils.toDocumentFile can be used to convert it to a DocumentFile later on to actually work with. Adds "No file manager found" message if no activity with OPEN_DOCUMENT_TREE is found. #1095 Removed deprecation of `startActivityForResult`.
This commit is contained in:
@@ -639,4 +639,5 @@ limitations under the License.
|
||||
<string name="field_set_primary">Primary</string>
|
||||
<string name="field_set_secondary">Secondary</string>
|
||||
<string name="field_remove_from_layout">Remove</string>
|
||||
<string name="no_compatible_file_manager_installed">No compatible file manager installed</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user