mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-22 13:05:31 +03:00
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:
parent
d9f9f8c280
commit
d2f741e917
2 changed files with 1 additions and 3 deletions
|
@ -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!")
|
||||
|
|
|
@ -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"/>
|
||||
|
|
Loading…
Reference in a new issue