-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Contacts app recognize tuta account
Close #7692 Close #6568 Co-authored-by: bir <[email protected]> Co-authored-by: hrb-hub <[email protected]>
- Loading branch information
1 parent
6156123
commit ea8bc90
Showing
11 changed files
with
601 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
629 changes: 508 additions & 121 deletions
629
app-android/app/src/main/java/de/tutao/tutanota/AndroidMobileContactsFacade.kt
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<resources> | ||
<string name="app_name" translatable="false">Tuta</string> | ||
<string name="reminder_label">Reminder</string> | ||
<string name="pushNewMail_msg">New email received.</string> | ||
<string name="notificationSync_msg">Synchronizing notifications</string> | ||
<string name="scheduleAlarmError_msg">Could not set up an alarm. Please update the application.</string> | ||
<string name="wantToSendReport_msg">Something unexpected went wrong. Do you want to send an error report? You can add a message to help us fix this error.</string> | ||
<string name="downloadCompleted_msg">Download completed</string> | ||
<string name="unlockCredentials_action">Unlock credentials</string> | ||
<string name="delete_action">Delete</string> | ||
<string name="markRead_action">Mark read</string> | ||
<string name="app_name" translatable="false">Tuta</string> | ||
<string name="reminder_label">Reminder</string> | ||
<string name="pushNewMail_msg">New email received.</string> | ||
<string name="notificationSync_msg">Synchronizing notifications</string> | ||
<string name="scheduleAlarmError_msg">Could not set up an alarm. Please update the application.</string> | ||
<string name="wantToSendReport_msg">Something unexpected went wrong. Do you want to send an error report? You can add a message to help us fix this error.</string> | ||
<string name="downloadCompleted_msg">Download completed</string> | ||
<string name="unlockCredentials_action">Unlock credentials</string> | ||
<string name="delete_action">Delete</string> | ||
<string name="markRead_action">Mark read</string> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<account-authenticator xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:accountType="@string/account_type" | ||
android:icon="@mipmap/ic_logo_round" | ||
android:label="@string/app_name" | ||
android:smallIcon="@mipmap/ic_logo_round"/> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- The base valid EditSchema must contain "name" and "photo" DataKinds --> | ||
<!-- An invalid EditSchema will result in Tuta not being detected as a contact provider --> | ||
<ContactsAccountType> | ||
<EditSchema> | ||
<DataKind kind="photo" maxOccurs="1"/> | ||
<DataKind kind="name" | ||
maxOccurs="1" | ||
supportsDisplayName="false" | ||
supportsPrefix="true" | ||
supportsMiddleName="true" | ||
supportsSuffix="true" | ||
supportsPhoneticGivenName="true" | ||
supportsPhoneticMiddleName="true" | ||
supportsPhoneticFamilyName="true" | ||
/> | ||
<DataKind kind="phone"> | ||
<Type type="home"/> | ||
<Type type="work"/> | ||
<Type type="mobile"/> | ||
<Type type="other_fax"/> | ||
<Type type="other"/> | ||
<Type type="custom"/> | ||
</DataKind> | ||
<DataKind kind="email"> | ||
<Type type="home"/> | ||
<Type type="work"/> | ||
<Type type="other"/> | ||
<Type type="custom"/> | ||
</DataKind> | ||
<DataKind kind="nickname" maxOccurs="1"/> | ||
<DataKind kind="im"> | ||
<Type type="custom"/> | ||
</DataKind> | ||
<DataKind kind="postal" needsStructured="false"> | ||
<Type type="home"/> | ||
<Type type="work"/> | ||
<Type type="other"/> | ||
<Type type="custom"/> | ||
</DataKind> | ||
<DataKind kind="organization" maxOccurs="1"/> | ||
<DataKind kind="website"/> | ||
<DataKind kind="note" maxOccurs="1"/> | ||
<DataKind kind="event" dateWithTime="false"> | ||
<Type type="birthday" maxOccurs="1" yearOptional="true"/> | ||
</DataKind> | ||
<DataKind kind="relationship"> | ||
<Type type="parent"/> | ||
<Type type="brother"/> | ||
<Type type="sister"/> | ||
<Type type="child"/> | ||
<Type type="friend"/> | ||
<Type type="relative"/> | ||
<Type type="spouse"/> | ||
<Type type="partner"/> | ||
<Type type="assistant"/> | ||
<Type type="manager"/> | ||
<Type type="custom"/> | ||
</DataKind> | ||
</EditSchema> | ||
</ContactsAccountType> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters