Эх сурвалжийг харах

Add app id

Signed-off-by: alperozturk <alper_ozturk@proton.me>
alperozturk 1 жил өмнө
parent
commit
7c7b91c40e

+ 1 - 0
app/build.gradle

@@ -104,6 +104,7 @@ android {
     }
 
     defaultConfig {
+        applicationId "com.nextcloud.client"
         minSdkVersion 24
         targetSdkVersion 34
         compileSdk 34

+ 8 - 8
app/src/main/AndroidManifest.xml

@@ -153,7 +153,7 @@
                 android:name="android.app.searchable"
                 android:resource="@xml/users_and_groups_searchable" />
 
-            <intent-filter>
+            <intent-filter android:autoVerify="true">
                 <action android:name="android.intent.action.VIEW" />
 
                 <category android:name="android.intent.category.DEFAULT" />
@@ -163,7 +163,7 @@
                 <data android:host="*" />
                 <data android:pathPattern="/f/..*" />
             </intent-filter>
-            <intent-filter>
+            <intent-filter android:autoVerify="true">
                 <action android:name="android.intent.action.VIEW" />
 
                 <category android:name="android.intent.category.DEFAULT" />
@@ -173,7 +173,7 @@
                 <data android:host="*" />
                 <data android:pathPattern="/..*/f/..*" />
             </intent-filter>
-            <intent-filter>
+            <intent-filter android:autoVerify="true">
                 <action android:name="android.intent.action.VIEW" />
 
                 <category android:name="android.intent.category.DEFAULT" />
@@ -183,7 +183,7 @@
                 <data android:host="*" />
                 <data android:pathPattern="/..*/..*/f/..*" />
             </intent-filter>
-            <intent-filter>
+            <intent-filter android:autoVerify="true">
                 <action android:name="android.intent.action.VIEW" />
 
                 <category android:name="android.intent.category.DEFAULT" />
@@ -193,7 +193,7 @@
                 <data android:host="*" />
                 <data android:pathPattern="/..*/..*/..*/f/..*" />
             </intent-filter>
-            <intent-filter>
+            <intent-filter android:autoVerify="true">
                 <action android:name="android.intent.action.VIEW" />
 
                 <category android:name="android.intent.category.DEFAULT" />
@@ -203,7 +203,7 @@
                 <data android:host="*" />
                 <data android:pathPattern="/f/..*" />
             </intent-filter>
-            <intent-filter>
+            <intent-filter android:autoVerify="true">
                 <action android:name="android.intent.action.VIEW" />
 
                 <category android:name="android.intent.category.DEFAULT" />
@@ -213,7 +213,7 @@
                 <data android:host="*" />
                 <data android:pathPattern="/..*/f/..*" />
             </intent-filter>
-            <intent-filter>
+            <intent-filter android:autoVerify="true">
                 <action android:name="android.intent.action.VIEW" />
 
                 <category android:name="android.intent.category.DEFAULT" />
@@ -223,7 +223,7 @@
                 <data android:host="*" />
                 <data android:pathPattern="/..*/..*/f/..*" />
             </intent-filter>
-            <intent-filter>
+            <intent-filter android:autoVerify="true">
                 <action android:name="android.intent.action.VIEW" />
 
                 <category android:name="android.intent.category.DEFAULT" />

+ 1 - 0
app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java

@@ -35,6 +35,7 @@ import android.os.Handler;
 import android.os.IBinder;
 import android.os.Looper;
 import android.os.Parcelable;
+import android.provider.Settings;
 import android.text.TextUtils;
 import android.view.Menu;
 import android.view.MenuInflater;