Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
botbahlul authored Jul 7, 2023
1 parent f4d773b commit f74c3ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ android {
minSdkVersion 23
targetSdkVersion 30
versionCode 1
versionName "1.6.9"
versionName "1.6.10"

ndk {
abiFilters "armeabi-v7a", "arm64-v8a", "x86", "x86_64"
Expand Down
12 changes: 6 additions & 6 deletions app/src/main/java/com/android/autosrt/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ public void onRequestPermissionsResult(int requestCode, @NonNull String[] permis
if (savedTreesUri != null && savedTreesUri.size() > 0) {
appendText(textview_output_messages, "Persisted tree uri permission is granted for folders :\n");
for (int i=0; i<savedTreesUri.size(); i++) {
appendText(textview_output_messages, savedTreesUri.get(i).toString() + "\n");
appendText(textview_output_messages, TreeUri2Path(savedTreesUri.get(i)) + "\n");
Log.d("onRequestPermissionsResult", "savedTreesUri.get(" + i + ") = " + savedTreesUri.get(i));
}
if (selectedFilesPath != null && selectedFilesPath.size() > 0) {
Expand Down Expand Up @@ -1202,7 +1202,7 @@ public void onActivityResult(ActivityResult result) {
if (savedTreesUri != null && savedTreesUri.size() > 0) {
appendText(textview_output_messages, "Persisted tree uri permission is granted for folders :\n");
for (int i=0; i<savedTreesUri.size(); i++) {
appendText(textview_output_messages, savedTreesUri.get(i).toString() + "\n");
appendText(textview_output_messages, TreeUri2Path(savedTreesUri.get(i)) + "\n");
Log.d("startForRequestManageAppAllFileAccessPermissionActivity", "savedTreesUri.get(" + i + ") = " + savedTreesUri.get(i));
}
if (selectedFilesPath != null && selectedFilesPath.size() > 0) {
Expand Down Expand Up @@ -1248,7 +1248,7 @@ public void onActivityResult(ActivityResult result) {
if (savedTreesUri != null && savedTreesUri.size() > 0) {
appendText(textview_output_messages, "Persisted tree uri permission is granted for folders :\n");
for (int i=0; i<savedTreesUri.size(); i++) {
appendText(textview_output_messages, savedTreesUri.get(i).toString() + "\n");
appendText(textview_output_messages, TreeUri2Path(savedTreesUri.get(i)) + "\n");
Log.d("startForRequestManageAppAllFileAccessPermissionActivity", "savedTreesUri.get(" + i + ") = " + savedTreesUri.get(i));
}
if (selectedFilesPath != null && selectedFilesPath.size() > 0) {
Expand Down Expand Up @@ -1327,7 +1327,7 @@ public void onActivityResult(ActivityResult result) {
boolean alreadySaved = false;
for (int i = 0; i < savedTreesUri.size(); i++) {
Log.d("startForRequestPersistedTreeUriPermissionActivity", "savedTreesUri.get(i) = " + savedTreesUri.get(i));
if (savedTreesUri.get(i) == treeUri) {
if (savedTreesUri.get(i).toString().equals(treeUri.toString())) {
alreadySaved = true;
Log.d("startForRequestPersistedTreeUriPermissionActivity", "alreadySaved = true");
}
Expand Down Expand Up @@ -2516,7 +2516,7 @@ private void requestTreeUriPermissions() {
if (savedTreesUri.size() > 0) {
appendText(textview_output_messages, "Persisted tree uri permission is granted for folders :\n");
for (int i=0; i<savedTreesUri.size(); i++) {
appendText(textview_output_messages, savedTreesUri.get(i).toString() + "\n");
appendText(textview_output_messages, TreeUri2Path(savedTreesUri.get(i)) + "\n");
Log.d("requestTreeUriPermissions", "savedTreesUri.get(" + i + ") = " + savedTreesUri.get(i));
}
if (selectedFilesPath != null && selectedFilesPath.size()>0) {
Expand Down Expand Up @@ -2618,7 +2618,7 @@ private void requestTreeUriPermissions() {
if (savedTreesUri.size() > 0) {
appendText(textview_output_messages, "Persisted tree uri permission is granted for folders :\n");
for (int i=0; i<savedTreesUri.size(); i++) {
appendText(textview_output_messages, savedTreesUri.get(i).toString() + "\n");
appendText(textview_output_messages, TreeUri2Path(savedTreesUri.get(i)) + "\n");
Log.d("requestTreeUriPermissions", "savedTreesUri.get(" + i + ") = " + savedTreesUri.get(i));
}
if (selectedFilesPath != null && selectedFilesPath.size()>0) {
Expand Down

0 comments on commit f74c3ae

Please sign in to comment.