From 9db2efe6a237a6fe8827ad979c9fc77708240115 Mon Sep 17 00:00:00 2001 From: alperozturk Date: Thu, 4 Apr 2024 12:49:56 +0200 Subject: [PATCH 1/4] Add autoverify Signed-off-by: alperozturk --- app/src/main/AndroidManifest.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 77bfd0b42305..38aac7745179 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -148,7 +148,7 @@ - + From 1a38fda92e59aa26676f970a44cb3d36e2968ed8 Mon Sep 17 00:00:00 2001 From: alperozturk Date: Fri, 12 Apr 2024 15:24:32 +0200 Subject: [PATCH 2/4] catch deeplink in empty action Signed-off-by: alperozturk --- .../owncloud/android/ui/activity/FileDisplayActivity.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java b/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java index a7010017e4a9..b0bc35c2a1f4 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java @@ -516,7 +516,8 @@ protected void onNewIntent(Intent intent) { } else if (RESTART.equals(intent.getAction())) { finish(); startActivity(intent); - } else // Verify the action and get the query + } else { + // Verify the action and get the query if (Intent.ACTION_SEARCH.equals(intent.getAction())) { setIntent(intent); @@ -558,7 +559,10 @@ protected void onNewIntent(Intent intent) { setLeftFragment(new GroupfolderListFragment()); getSupportFragmentManager().executePendingTransactions(); + } else { + handleOpenFileViaIntent(intent); } + } } private void onOpenFileIntent(Intent intent) { @@ -2315,7 +2319,6 @@ protected void onDestroy() { @Override protected void onRestart() { super.onRestart(); - checkForNewDevVersionNecessary(getApplicationContext()); } From 4c8dc261078100c65a4a267e783f05323766a938 Mon Sep 17 00:00:00 2001 From: alperozturk Date: Mon, 15 Apr 2024 09:03:03 +0200 Subject: [PATCH 3/4] Add separate block generated by App Links Assistant Signed-off-by: alperozturk --- app/src/main/AndroidManifest.xml | 77 +++++++++++++++++++++++++++++--- 1 file changed, 72 insertions(+), 5 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 38aac7745179..22ccc5777614 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -148,26 +148,93 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - Date: Mon, 15 Apr 2024 09:50:15 +0200 Subject: [PATCH 4/4] Add app id Signed-off-by: alperozturk --- app/build.gradle | 1 + app/src/main/AndroidManifest.xml | 16 ++++++++-------- .../android/ui/activity/FileDisplayActivity.java | 1 + 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index c55ab434efed..e5472ec611f3 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -104,6 +104,7 @@ android { } defaultConfig { + applicationId "com.nextcloud.client" minSdkVersion 24 targetSdkVersion 34 compileSdk 34 diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 22ccc5777614..af9fd5fae0f3 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -153,7 +153,7 @@ android:name="android.app.searchable" android:resource="@xml/users_and_groups_searchable" /> - + @@ -163,7 +163,7 @@ - + @@ -173,7 +173,7 @@ - + @@ -183,7 +183,7 @@ - + @@ -193,7 +193,7 @@ - + @@ -203,7 +203,7 @@ - + @@ -213,7 +213,7 @@ - + @@ -223,7 +223,7 @@ - + diff --git a/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java b/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java index b0bc35c2a1f4..ca1879b5d451 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java @@ -33,6 +33,7 @@ import android.os.Environment; import android.os.IBinder; import android.os.Parcelable; +import android.provider.Settings; import android.text.TextUtils; import android.view.Menu; import android.view.MenuInflater;