Update notetaking lockscreen quick affordance error dialog strings

Test: atest SystemUITests:NoteTaskQuickAffordanceConfigTest
Bug: 266686199
Change-Id: Ia7f2ffb4533817b1575f635faf26d87401c42f1e
This commit is contained in:
Steven Ng
2023-04-28 10:53:24 +01:00
parent 13667d5d09
commit e3b2054820
2 changed files with 4 additions and 4 deletions

View File

@@ -3039,14 +3039,14 @@
Requirement for the notes app to be available for the user to use. This is shown as part of a
bulleted list of requirements. When all requirements are met, the app can be accessed through a
shortcut button on the lock screen. [CHAR LIMIT=NONE] -->
<string name="keyguard_affordance_enablement_dialog_notes_app_instruction">Select a default notes app to use notetaking shortcut</string>
<string name="keyguard_affordance_enablement_dialog_notes_app_instruction">Select a default notes app to use the notetaking shortcut</string>
<!---
The action to make the lock screen shortcut for the notes app to be available for the user to
use. This is shown as the action button in the dialog listing the requirements. When all
requirements are met, the app can be accessed through a shortcut button on the lock screen.
[CHAR LIMIT=NONE] -->
<string name="keyguard_affordance_enablement_dialog_notes_app_action">Open settings</string>
<string name="keyguard_affordance_enablement_dialog_notes_app_action">Select app</string>
<!--
Error message shown when a shortcut must be pressed and held to activate it, usually shown when

View File

@@ -296,8 +296,8 @@ internal class NoteTaskQuickAffordanceConfigTest : SysuiTestCase() {
assertThat(underTest.getPickerScreenState())
.isEqualTo(
KeyguardQuickAffordanceConfig.PickerScreenState.Disabled(
listOf("Select a default notes app to use notetaking shortcut"),
actionText = "Open settings",
listOf("Select a default notes app to use the notetaking shortcut"),
actionText = "Select app",
actionComponentName =
"${context.packageName}$COMPONENT_NAME_SEPARATOR" +
"$ACTION_MANAGE_NOTES_ROLE_FROM_QUICK_AFFORDANCE"