Merge "Update the settings privacy page to the latest mocks" into sc-dev am: 39e7cb2721 am: 1f2542e62c

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14215739

Change-Id: I2b55b8e2be72c50fb51c9f97fb6cab0c3e7c0584
This commit is contained in:
Evan Severson
2021-05-20 01:50:42 +00:00
committed by Automerger Merge Worker
7 changed files with 660 additions and 10 deletions

View File

@@ -13285,4 +13285,11 @@
<!-- Summary for UWB preference when airplane mode is disabled. [CHAR_LIMIT=NONE]-->
<string name="uwb_settings_summary_airplane_mode">Turn off airplane mode to use UWB </string>
<!-- Label for the camera use toggle [CHAR LIMIT=40] -->
<string name="camera_toggle_title">Camera access</string>
<!-- Label for the camera use toggle [CHAR LIMIT=40] -->
<string name="mic_toggle_title">Microphone access</string>
<!-- Describes what is affected by the camera or mic toggle [CHAR LIMIT=NONE] -->
<string name="sensor_toggle_description">For all apps and services</string>
</resources>

View File

@@ -48,26 +48,40 @@
<intent android:action="android.intent.action.REVIEW_ACCESSIBILITY_SERVICES"/>
</Preference>
<!-- App permissions -->
<Preference
android:key="privacy_manage_perms"
android:title="@string/app_permissions"
android:summary="@string/runtime_permissions_summary_control_app_access"
settings:allowDividerAbove="true"
settings:searchable="false">
<intent android:action="android.intent.action.MANAGE_PERMISSIONS"/>
</Preference>
<!-- Permissions usage -->
<Preference
android:key="privacy_permissions_usage"
android:title="@string/permissions_usage_title"
android:summary="@string/permissions_usage_summary"
settings:allowDividerAbove="true"
settings:searchable="false"
settings:controller="com.android.settings.privacy.PrivacyHubPreferenceController">
<intent android:action="android.intent.action.REVIEW_PERMISSION_USAGE"/>
</Preference>
<!-- App permissions -->
<Preference
android:key="privacy_manage_perms"
android:title="@string/app_permissions"
android:summary="@string/runtime_permissions_summary_control_app_access"
settings:searchable="false">
<intent android:action="android.intent.action.MANAGE_PERMISSIONS"/>
</Preference>
<!-- Camera toggle -->
<SwitchPreference
android:key="privacy_camera_toggle"
android:title="@string/camera_toggle_title"
android:summary="@string/sensor_toggle_description"
settings:controller="com.android.settings.privacy.CameraToggleController"/>
<!-- Microphone toggle -->
<SwitchPreference
android:key="privacy_mic_toggle"
android:title="@string/mic_toggle_title"
android:summary="@string/sensor_toggle_description"
settings:controller="com.android.settings.privacy.MicToggleController"/>
<!-- Show passwords -->
<SwitchPreference
android:key="show_password"