Remote authenticator settings layout.

This flow will be included in Device Unlock settings with the
Fingerprint and Face Unlock. Settings will allow viewing registered
authenticators and unregistering authenticators.

Bug: b/293906744
Test: atest RemoteAuthSettingsTest
Change-Id: I91307a8449d384ecb8d4908f595a3bf6abaef2b5
This commit is contained in:
Justin McClain
2023-08-11 16:12:21 +00:00
parent f6c3736352
commit a6325eac64
11 changed files with 487 additions and 0 deletions

View File

@@ -171,14 +171,21 @@
<!-- RemoteAuth-->
<dimen name="remoteauth_fragment_padding_horizontal">40dp</dimen>
<dimen name="remoteauth_fragment_subtitle_text_size">14sp</dimen>
<dimen name="remoteauth_icon_small_size">24dp</dimen>
<dimen name="remoteauth_touchable_area_minimum_span">48dp</dimen>
<dimen name="remoteauth_padding_horizontal">24dp</dimen>
<dimen name="remoteauth_device_name_text_size">20sp</dimen>
<dimen name="remoteauth_device_vertical_margin">12dp</dimen>
<dimen name="remoteauth_introduction_fragment_padding_horizontal">30dp</dimen>
<dimen name="remoteauth_introduction_description_start_margin">8dp</dimen>
<dimen name="remoteauth_introduction_subheading_text_size">18sp</dimen>
<dimen name="remoteauth_carousel_progress_margin">28dp</dimen>
<dimen name="remoteauth_carousel_progress_circle_diameter">8dp</dimen>
<dimen name="remoteauth_carousel_progress_circle_margin">4dp</dimen>
<dimen name="remoteauth_settings_top_margin">22dp</dimen>
<dimen name="remoteauth_settings_device_horizontal_margin">16dp</dimen>
<!-- Lock pattern view size, align sysui biometric_auth_pattern_view_size -->

View File

@@ -917,6 +917,19 @@
<string name="security_settings_remoteauth_enroll_finish_description">You can now use your watch to unlock this phone when you swipe up on the lock screen or tap a notification</string>
<!-- Button text to finish enrollment [CHAR LIMIT=30] -->
<string name="security_settings_remoteauth_enroll_finish_btn_next">Done</string>
<!-- Strings for RemoteAuth settings page-->
<!-- Title for remote authenticator settings page [CHAR_LIMIT=NONE]-->
<string name="security_settings_remoteauth_settings_title">Watch Unlock</string>
<!-- Explains when a watch can be used to unlock the phone [CHAR_LIMIT=NONE] -->
<string name="security_settings_remoteauth_settings_description">You can use your watch to unlock this phone when you swipe up on the lock screen or tap a notification</string>
<!-- Explains how to enable the Watch Unlock feature on a watch [CHAR_LIMIT=NONE] -->
<string name="security_settings_remoteauth_settings_info_footer">To use Watch Unlock, your watch must be unlocked, on your wrist, within reach, and connected to this phone. If the connection is interrupted, you\u2019ll need to unlock the phone before you can use Watch Unlock.\n\nKeep in mind:\nYou can only have one watch set up at a time. To add another watch, first remove the current one.</string>
<!-- Links to the Watch Unlock help center article [CHAR_LIMIT=NONE] -->
<string name="security_settings_remoteauth_settings_learn_more">Learn more about Watch Unlock</string>
<!-- Button text to add new watch [CHAR_LIMIT=NONE] -->
<string name="security_settings_remoteauth_settings_register_new_authenticator">Add watch</string>
<!-- Accessibility label of a button that lets users remove enrolled watches from Watch Unlock settings [CHAR_LIMIT=NONE] -->
<string name="security_settings_remoteauth_settings_remove_device">Remove watch</string>
<!-- Biometric settings --><skip />
<!-- Title shown for menu item that launches biometric settings. [CHAR LIMIT=66] -->