Add warning message when camera privacy lock is enabled for screen attention settings

Test: locally with flame, make RunSettingsRoboTests -j$(nproc)
ROBOTEST_FILTER=AdaptiveSleepCameraStatePreferenceControllerTest,
AdaptiveSleepPreferenceControllerTest

Bug: 177462182
Change-Id: I9880d6b82e9a5040534aceda4ff15275e0bcf72a
This commit is contained in:
Abel Tesfaye
2021-03-25 00:14:33 +00:00
parent 8477cf1892
commit 5d6438391f
6 changed files with 207 additions and 4 deletions

View File

@@ -2948,6 +2948,8 @@
<string name="auto_rotate_camera_lock_title">Camera is locked</string>
<!-- Description feature's privacy sensitive details to make sure users understand what feature users, what it saves/sends etc [CHAR LIMIT=NONE]-->
<string name="auto_rotate_camera_lock_summary">Camera must be unlocked for Face Detection</string>
<!-- screen_timeout settings screen, summary about the camera being disabled [CHAR LIMIT=NONE]-->
<string name="adaptive_sleep_camera_lock_summary">Camera must be unlocked for Screen Attention</string>
<!-- auto_rotate settings screen, title about the required permission is missing [CHAR LIMIT=NONE]-->
<string name="auto_rotate_summary_no_permission">Camera access is required for Face Detection. Tap to manage permissions for Device Personalization Services</string>
<!-- auto_rotate settings screen, text for the camera permission button [CHAR LIMIT=NONE]-->