diff --git a/res/values/strings.xml b/res/values/strings.xml index 459d1568bcc76d038d90fcbb40a4422f8ec7a591..be91e29a43ee52e37f0fec475afaa3cde5f83517 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1589,4 +1589,12 @@ Emergency information + Contacts is forked from LineageOS Contacts + Authors + Source code + Licence + Contact information + -Contacts is an open source App for Android + + diff --git a/res/xml/preference_about.xml b/res/xml/preference_about.xml index a109db68ed657688ffda3cbf1d005e05ff93fa03..b9f17120f4232c6cb46a6f7da0116291933af3ef 100644 --- a/res/xml/preference_about.xml +++ b/res/xml/preference_about.xml @@ -1,5 +1,4 @@ - - - + android:key="contacts_info" + android:summary="@string/preferences_app_info" + android:title="@string/preferences_app_info_title" /> + android:icon="@null" + android:key="@string/pref_build_version_key" + android:title="@string/about_build_version"> + + + + android:key="about_app" + android:title="@string/preferences_about_app"> + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/com/android/contacts/preference/AboutPreferenceFragment.java b/src/com/android/contacts/preference/AboutPreferenceFragment.java index 378948033ac42c95473a48016d3e2f765935a76d..8c2313451ff0b918d36f30e6947c82d430a62b16 100644 --- a/src/com/android/contacts/preference/AboutPreferenceFragment.java +++ b/src/com/android/contacts/preference/AboutPreferenceFragment.java @@ -35,8 +35,9 @@ import com.android.contacts.activities.LicenseActivity; */ public class AboutPreferenceFragment extends PreferenceFragment { - public static final String PRIVACY_POLICY_URL = "http://www.google.com/policies/privacy"; - public static final String TERMS_OF_SERVICE_URL = "http://www.google.com/policies/terms"; + public static final String PRIVACY_POLICY_URL = "https://e.foundation/legal-notice-privacy/"; + public static final String TERMS_OF_SERVICE_URL = "https://e.foundation/legal-notice-privacy/"; + public static AboutPreferenceFragment newInstance() { return new AboutPreferenceFragment();