Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e3b20548 authored by Steven Ng's avatar Steven Ng
Browse files

Update notetaking lockscreen quick affordance error dialog strings

Test: atest SystemUITests:NoteTaskQuickAffordanceConfigTest
Bug: 266686199
Change-Id: Ia7f2ffb4533817b1575f635faf26d87401c42f1e
parent 13667d5d
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -3039,14 +3039,14 @@
    Requirement for the notes app to be available for the user to use. This is shown as part of a
    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
    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] -->
    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
    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
    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.
    requirements are met, the app can be accessed through a shortcut button on the lock screen.
    [CHAR LIMIT=NONE] -->
    [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
    Error message shown when a shortcut must be pressed and held to activate it, usually shown when
+2 −2
Original line number Original line Diff line number Diff line
@@ -296,8 +296,8 @@ internal class NoteTaskQuickAffordanceConfigTest : SysuiTestCase() {
        assertThat(underTest.getPickerScreenState())
        assertThat(underTest.getPickerScreenState())
            .isEqualTo(
            .isEqualTo(
                KeyguardQuickAffordanceConfig.PickerScreenState.Disabled(
                KeyguardQuickAffordanceConfig.PickerScreenState.Disabled(
                    listOf("Select a default notes app to use notetaking shortcut"),
                    listOf("Select a default notes app to use the notetaking shortcut"),
                    actionText = "Open settings",
                    actionText = "Select app",
                    actionComponentName =
                    actionComponentName =
                        "${context.packageName}$COMPONENT_NAME_SEPARATOR" +
                        "${context.packageName}$COMPONENT_NAME_SEPARATOR" +
                            "$ACTION_MANAGE_NOTES_ROLE_FROM_QUICK_AFFORDANCE"
                            "$ACTION_MANAGE_NOTES_ROLE_FROM_QUICK_AFFORDANCE"