mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 20:19:42 +01: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
@ -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!")
|
||||||
|
@ -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"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user