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

Commit ff3b9362 authored by Marcello Galhardo's avatar Marcello Galhardo Committed by Automerger Merge Worker
Browse files

Merge "Update notetaking lockscreen quick affordance error dialog strings"...

Merge "Update notetaking lockscreen quick affordance error dialog strings" into udc-dev am: aaf9a755 am: 5effd8ac

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22927796



Change-Id: I84f277add4c398321635238e720fcc79f9bf3bf3
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 8c9881c1 5effd8ac
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -3042,14 +3042,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"