mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2024-11-22 05:20:36 +01:00
Fix file manager access on Android 10
This commit is contained in:
parent
210163de0a
commit
88e03340cf
@ -649,7 +649,8 @@ class MDFileManager(MDRelativeLayout):
|
||||
|
||||
return dirs, files
|
||||
|
||||
except OSError:
|
||||
except OSError as e:
|
||||
print("Filemanager OSError: "+str(e))
|
||||
return None, None
|
||||
|
||||
def close(self) -> None:
|
||||
|
@ -1677,8 +1677,6 @@ class SidebandApp(MDApp):
|
||||
ate_dialog.open()
|
||||
|
||||
else:
|
||||
self.sideband.config["map_storage_path"] = None
|
||||
self.sideband.save_configuration()
|
||||
if RNS.vendor.platformutils.get_platform() == "android":
|
||||
toast("No file access, check permissions!")
|
||||
else:
|
||||
|
@ -54,6 +54,7 @@
|
||||
{{ args.extra_manifest_application_arguments }}
|
||||
android:theme="{{args.android_apptheme}}{% if not args.window %}.Fullscreen{% endif %}"
|
||||
android:hardwareAccelerated="true"
|
||||
android:requestLegacyExternalStorage="true"
|
||||
>
|
||||
{% for l in args.android_used_libs %}
|
||||
<uses-library android:name="{{ l }}" />
|
||||
|
Loading…
Reference in New Issue
Block a user