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/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"/> + +