mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 11:08:02 +00:00
Support for populating contacts DB with TS account type.
// FREEBIE
This commit is contained in:
6
res/xml/authenticator.xml
Normal file
6
res/xml/authenticator.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:accountType="org.thoughtcrime.securesms"
|
||||
android:icon="@drawable/icon"
|
||||
android:smallIcon="@drawable/icon"
|
||||
android:label="@string/app_name"/>
|
||||
|
9
res/xml/contactsformat.xml
Normal file
9
res/xml/contactsformat.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ContactsSource xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ContactsDataKind
|
||||
android:icon="@drawable/icon"
|
||||
android:mimeType="vnd.android.cursor.item/vnd.org.thoughtcrime.securesms.contact"
|
||||
android:summaryColumn="data2"
|
||||
android:detailColumn="data3"
|
||||
android:detailSocialSummary="true"/>
|
||||
</ContactsSource>
|
8
res/xml/syncadapter.xml
Normal file
8
res/xml/syncadapter.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<sync-adapter xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:contentAuthority="com.android.contacts"
|
||||
android:accountType="org.thoughtcrime.securesms"
|
||||
android:userVisible="true"
|
||||
android:supportsUploading="false"
|
||||
android:allowParallelSyncs="false"
|
||||
android:isAlwaysSyncable="true"/>
|
Reference in New Issue
Block a user