fix: permission
This commit is contained in:
parent
fcdf9f5703
commit
e6ce534434
@ -15,7 +15,6 @@
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
|
||||
|
||||
<application
|
||||
android:name=".App"
|
||||
|
@ -136,7 +136,7 @@ class SetupActivity : AppCompatActivity(), View.OnClickListener, ResultListener
|
||||
when (id) {
|
||||
R.id.setup_method_backup,
|
||||
R.id.setup_method_local -> {
|
||||
val intent = Intent(Intent.ACTION_OPEN_DOCUMENT)
|
||||
val intent = Intent(Intent.ACTION_VIEW)
|
||||
try {
|
||||
startActivityForResult(intent, REQUEST_SELECT_PARAMETER)
|
||||
} catch (ignore: ActivityNotFoundException) {
|
||||
|
Loading…
Reference in New Issue
Block a user