Skip to content

Commit 4389179

Browse files
committed
Fix the Read External Storage permissions
1 parent 76df1ec commit 4389179

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
compileSdk 34
88
minSdkVersion 21
99
targetSdkVersion 34
10-
versionCode 15
11-
versionName "1.1.4"
10+
versionCode 16
11+
versionName "1.1.5"
1212

1313
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
1414
externalNativeBuild {

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<uses-permission android:name="android.permission.CAMERA" />
1313
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
1414
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
15+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:ignore="ScopedStorage" />
1516

1617
<application
1718
android:name=".ScalaVaultApplication"

app/src/main/java/io/scalaproject/vault/LoginActivity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,8 @@ public void onButton(int type) {
387387
@Override
388388
public void onRequestPermissionsResult(int requestCode, @NonNull String permissions[],
389389
@NonNull int[] grantResults) {
390+
super.onRequestPermissionsResult(requestCode, permissions, grantResults);
391+
390392
Timber.d("onRequestPermissionsResult()");
391393
switch (requestCode) {
392394
case LegacyStorageHelper.PERMISSIONS_REQUEST_READ_EXTERNAL_STORAGE:

0 commit comments

Comments
 (0)