From 0490342cba1518a65de63cbe89192d1d51ca03e5 Mon Sep 17 00:00:00 2001 From: harvey186 Date: Sun, 14 Jan 2024 09:33:57 +0100 Subject: [PATCH] advanced_privacy Change-Id: I1b3bad5418581bd6fd95b9147a01e1122788a555 --- res/drawable/ic_homepage_advanced_privacy.xml | 41 +++++++++++++++ ...een.xml => ic_illustration_fullscreen.xml} | 0 ..._switch.xml => ic_illustration_switch.xml} | 0 ..._window.xml => ic_illustration_window.xml} | 0 res/drawable/ic_launcher_background.xml | 37 +++++++++---- res/values/cm_strings.xml | 6 ++- res/values/strings.xml | 3 ++ .../advanced_privacy_dashboard_settings.xml | 28 ++++++++++ res/xml/bubble_notification_settings.xml | 5 +- res/xml/top_level_settings.xml | 10 +++- .../AdvancedPrivacyDashboardFragment.java | 52 +++++++++++++++++++ 11 files changed, 167 insertions(+), 15 deletions(-) create mode 100644 res/drawable/ic_homepage_advanced_privacy.xml rename res/drawable/{accessibility_magnification_mode_fullscreen.xml => ic_illustration_fullscreen.xml} (100%) rename res/drawable/{accessibility_magnification_mode_switch.xml => ic_illustration_switch.xml} (100%) rename res/drawable/{accessibility_magnification_mode_window.xml => ic_illustration_window.xml} (100%) create mode 100644 res/xml/advanced_privacy_dashboard_settings.xml create mode 100644 src/com/android/settings/privacy/AdvancedPrivacyDashboardFragment.java diff --git a/res/drawable/ic_homepage_advanced_privacy.xml b/res/drawable/ic_homepage_advanced_privacy.xml new file mode 100644 index 0000000000..3786ebb858 --- /dev/null +++ b/res/drawable/ic_homepage_advanced_privacy.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + diff --git a/res/drawable/accessibility_magnification_mode_fullscreen.xml b/res/drawable/ic_illustration_fullscreen.xml similarity index 100% rename from res/drawable/accessibility_magnification_mode_fullscreen.xml rename to res/drawable/ic_illustration_fullscreen.xml diff --git a/res/drawable/accessibility_magnification_mode_switch.xml b/res/drawable/ic_illustration_switch.xml similarity index 100% rename from res/drawable/accessibility_magnification_mode_switch.xml rename to res/drawable/ic_illustration_switch.xml diff --git a/res/drawable/accessibility_magnification_mode_window.xml b/res/drawable/ic_illustration_window.xml similarity index 100% rename from res/drawable/accessibility_magnification_mode_window.xml rename to res/drawable/ic_illustration_window.xml diff --git a/res/drawable/ic_launcher_background.xml b/res/drawable/ic_launcher_background.xml index 8c651550f9..b91ae32786 100644 --- a/res/drawable/ic_launcher_background.xml +++ b/res/drawable/ic_launcher_background.xml @@ -1,18 +1,37 @@ + ~ Copyright ECORP SAS 2022 + ~ This program is free software: you can redistribute it and/or modify + ~ it under the terms of the GNU General Public License as published by + ~ the Free Software Foundation, either version 3 of the License, or + ~ (at your option) any later version. + ~ + ~ This program is distributed in the hope that it will be useful, + ~ but WITHOUT ANY WARRANTY; without even the implied warranty of + ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + ~ GNU General Public License for more details. + ~ + ~ You should have received a copy of the GNU General Public License + ~ along with this program. If not, see . + --> - + android:pathData="M0,0h108v108h-108z"> + + + + + + + diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index 9cda169ed0..4da3fdca8c 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -18,7 +18,7 @@ Cloudflare DNS - one.one.one.one + 9.9.9.9 Extras @@ -189,4 +189,8 @@ Download satellite assistance data from the internet which can greatly improve the GPS startup performance. For emergency calls, assisted GPS is always allowed. + + + Advanced Privacy + Manage trackers, fake location, hide IP address diff --git a/res/values/strings.xml b/res/values/strings.xml index 1951c0a06b..92c7766f9e 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -792,6 +792,9 @@ App security, device lock, permissions + + + Screen lock, app security diff --git a/res/xml/advanced_privacy_dashboard_settings.xml b/res/xml/advanced_privacy_dashboard_settings.xml new file mode 100644 index 0000000000..8433a4402a --- /dev/null +++ b/res/xml/advanced_privacy_dashboard_settings.xml @@ -0,0 +1,28 @@ + + + + + + + + + diff --git a/res/xml/bubble_notification_settings.xml b/res/xml/bubble_notification_settings.xml index 3e137d7001..82a89a3249 100644 --- a/res/xml/bubble_notification_settings.xml +++ b/res/xml/bubble_notification_settings.xml @@ -26,10 +26,7 @@ + app:lottie_rawRes="@raw/lottie_bubbles"/> @@ -155,6 +155,14 @@ settings:highlightableMenuKey="@string/menu_key_privacy" settings:controller="com.android.settings.privacy.TopLevelPrivacyEntryPreferenceController"/> + +