From b0d0569ae1ebd61dd7fed363c04cd165e0f5c1a3 Mon Sep 17 00:00:00 2001 From: Yanting Yang Date: Tue, 25 May 2021 19:07:31 +0800 Subject: [PATCH] Remove Advanced section Based on the UX design to remove the Advanced category. - Security - Privacy - Location - Internet > Network details - App info > Notifications - Developer options > Wireless debugging > gear icon Fixes: 182237530 Test: robotests & visual Change-Id: I8d060e536607f446537c55f805e50fed4f65abf6 --- res/xml/adb_device_details_fragment.xml | 3 +-- res/xml/app_notification_settings.xml | 3 +-- res/xml/location_settings.xml | 3 +-- res/xml/privacy_dashboard_settings.xml | 3 +-- res/xml/security_dashboard_settings.xml | 3 +-- res/xml/wifi_network_details_fragment2.xml | 3 +-- 6 files changed, 6 insertions(+), 12 deletions(-) diff --git a/res/xml/adb_device_details_fragment.xml b/res/xml/adb_device_details_fragment.xml index 2e149ed8165..a227f383390 100644 --- a/res/xml/adb_device_details_fragment.xml +++ b/res/xml/adb_device_details_fragment.xml @@ -17,8 +17,7 @@ + android:title="@string/device_details_title"> + android:order="1000"> + android:layout="@layout/preference_category_no_label"> + android:title="@string/privacy_dashboard_title"> diff --git a/res/xml/security_dashboard_settings.xml b/res/xml/security_dashboard_settings.xml index be1f34cebe3..edfe582d7cc 100644 --- a/res/xml/security_dashboard_settings.xml +++ b/res/xml/security_dashboard_settings.xml @@ -19,8 +19,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:settings="http://schemas.android.com/apk/res-auto" android:key="security_dashboard_page" - android:title="@string/security_settings_title" - settings:initialExpandedChildrenCount="9"> + android:title="@string/security_settings_title"> + xmlns:settings="http://schemas.android.com/apk/res-auto">