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>
This commit is contained in:
Marcel Hibbe 2021-03-23 14:43:55 +01:00
parent d9f9f8c280
commit d2f741e917
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B
2 changed files with 1 additions and 3 deletions

View file

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

View file

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