浏览代码

allow nextcloud to be parallel to owncloud

tobiasKaminsky 9 年之前
父节点
当前提交
1147778794
共有 3 个文件被更改,包括 4 次插入2 次删除
  1. 1 1
      AndroidManifest.xml
  2. 2 0
      build.gradle
  3. 1 1
      res/values/setup.xml

+ 1 - 1
AndroidManifest.xml

@@ -134,7 +134,7 @@
 
         <provider
             android:name=".providers.UsersAndGroupsSearchProvider"
-            android:authorities="com.owncloud.android.providers.UsersAndGroupsSearchProvider"
+            android:authorities="com.nextcloud.android.providers.UsersAndGroupsSearchProvider"
             android:enabled="true"
             android:exported="false"
             android:label="@string/search_users_and_groups_hint" />

+ 2 - 0
build.gradle

@@ -79,6 +79,8 @@ android {
         testInstrumentationRunnerArgument "TEST_USER", "\"$System.env.OCTEST_APP_USERNAME\""
         testInstrumentationRunnerArgument "TEST_PASSWORD", "\"$System.env.OCTEST_APP_PASSWORD\""
         testInstrumentationRunnerArgument "TEST_SERVER_URL", "\"$System.env.OCTEST_SERVER_BASE_URL\""
+
+        applicationId "com.nextcloud.android"
     }
 
     // adapt structure from Eclipse to Gradle/Android Studio expectations;

+ 1 - 1
res/values/setup.xml

@@ -4,7 +4,7 @@
     <string name="app_name">Nextcloud</string>
     <string name="account_type">nextcloud</string>	<!-- better if was a domain name; but changing it now would require
     migrate accounts when the app is updated -->
-    <string name="authority">org.owncloud</string>	<!-- better if was the app package with ".provider" appended ; it identifies the provider -->
+    <string name="authority">org.nextcloud</string>	<!-- better if was the app package with ".provider" appended ; it identifies the provider -->
     <string name ="db_file">nextcloud.db</string>
     <string name ="db_name">nextcloud</string>
     <string name ="data_folder">nextcloud</string>