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

avoid "null" entry in phonebook and use correct app name

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>

dynamically set accountType and accountName

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>

comment out applicationIdSuffix

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>

.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Marcel Hibbe 4 жил өмнө
parent
commit
d2f741e917

+ 0 - 2
app/src/main/java/com/nextcloud/talk/jobs/ContactAddressBookWorker.kt

@@ -79,8 +79,6 @@ class ContactAddressBookWorker(val context: Context, workerParameters: WorkerPar
 
 
         accountName = context.getString(R.string.nc_app_name)
         accountName = context.getString(R.string.nc_app_name)
         accountType = BuildConfig.APPLICATION_ID
         accountType = BuildConfig.APPLICATION_ID
-        Log.d(TAG, "accountName: " + accountName)
-        Log.d(TAG, "accountType: " + accountType)
 
 
         if (currentUser == null) {
         if (currentUser == null) {
             Log.e(javaClass.simpleName, "No current user!")
             Log.e(javaClass.simpleName, "No current user!")

+ 1 - 1
app/src/main/res/xml/auth.xml

@@ -23,4 +23,4 @@
     android:accountType="com.nextcloud.talk2"
     android:accountType="com.nextcloud.talk2"
     android:icon="@mipmap/ic_launcher"
     android:icon="@mipmap/ic_launcher"
     android:smallIcon="@mipmap/ic_launcher"
     android:smallIcon="@mipmap/ic_launcher"
-    android:label="Nextcloud Talk"/>
+    android:label="@string/nc_app_name"/>