Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f08ab008 authored by Danny Baumann's avatar Danny Baumann
Browse files

Make event fields (birthday, anniversary) editable.

Change-Id: I9afe1f5a4019597153c7eb13051fb2e7f2f01937
parent 8979aa47
Loading
Loading
Loading
Loading
+1.85 KiB
Loading image diff...
+2.04 KiB
Loading image diff...
+1 −0
Original line number Original line Diff line number Diff line
@@ -83,6 +83,7 @@
    <string name="label_notes" msgid="8337354953278341042">"Notizen"</string>
    <string name="label_notes" msgid="8337354953278341042">"Notizen"</string>
    <string name="label_sip_address" msgid="124073911714324974">"Internetanruf"</string>
    <string name="label_sip_address" msgid="124073911714324974">"Internetanruf"</string>
    <string name="label_ringtone" msgid="8833166825330686244">"Klingelton"</string>
    <string name="label_ringtone" msgid="8833166825330686244">"Klingelton"</string>
    <string name="label_date">Datum</string>
    <string name="ghostData_name" msgid="6490954238641157585">"Vor- und Nachname"</string>
    <string name="ghostData_name" msgid="6490954238641157585">"Vor- und Nachname"</string>
    <string name="ghostData_phonetic_name" msgid="7852749081984070902">"Phonetischer Name"</string>
    <string name="ghostData_phonetic_name" msgid="7852749081984070902">"Phonetischer Name"</string>
    <string name="ghostData_company" msgid="5414421120553765775">"Unternehmen"</string>
    <string name="ghostData_company" msgid="5414421120553765775">"Unternehmen"</string>
+3 −0
Original line number Original line Diff line number Diff line
@@ -1116,6 +1116,9 @@
    <!-- Field title for the phonetic family name of a contact -->
    <!-- Field title for the phonetic family name of a contact -->
    <string name="name_phonetic_family">Phonetic family name</string>
    <string name="name_phonetic_family">Phonetic family name</string>


    <!-- Field title for the date for an event -->
    <string name="label_date">Date</string>

    <!-- String describing which account type a contact came from when editing it -->
    <!-- String describing which account type a contact came from when editing it -->
    <string name="account_type_format"><xliff:g id="source" example="Gmail">%1$s</xliff:g> contact</string>
    <string name="account_type_format"><xliff:g id="source" example="Gmail">%1$s</xliff:g> contact</string>


+13 −0
Original line number Original line Diff line number Diff line
@@ -30,6 +30,7 @@ import android.provider.ContactsContract.Data;
import android.provider.ContactsContract.RawContacts;
import android.provider.ContactsContract.RawContacts;
import android.provider.ContactsContract.CommonDataKinds.Phone;
import android.provider.ContactsContract.CommonDataKinds.Phone;
import android.provider.ContactsContract.CommonDataKinds.StructuredPostal;
import android.provider.ContactsContract.CommonDataKinds.StructuredPostal;
import android.view.View;
import android.widget.EditText;
import android.widget.EditText;


import java.util.ArrayList;
import java.util.ArrayList;
@@ -312,6 +313,18 @@ public abstract class ContactsSource {
            this.optional = optional;
            this.optional = optional;
            return this;
            return this;
        }
        }

        public CharSequence fromValue(Context context, CharSequence value) {
            return value;
        }

        public CharSequence toValue(Context context, CharSequence text) {
            return text;
        }

        public View.OnClickListener getOnClickListener() {
            return null;
        }
    }
    }


    /**
    /**
Loading