From 5936f810e464bc3961f19f3cd8f803c2b4138caf Mon Sep 17 00:00:00 2001 From: Mohit Date: Fri, 6 Mar 2020 13:45:18 +0530 Subject: [PATCH] Update About Content --- res/values/strings.xml | 8 +++ res/xml/preference_about.xml | 70 ++++++++++++++----- .../preference/AboutPreferenceFragment.java | 5 +- 3 files changed, 65 insertions(+), 18 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 459d1568bc..be91e29a43 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 a109db68ed..b9f17120f4 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 378948033a..8c2313451f 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(); -- GitLab