Merge "Beautifies picker disabled dialogs (1/2)." into tm-qpr-dev am: 32f475e7da

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

Change-Id: I2829a347a716dc7149693cbc67488349fc43c1be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Ale Nijamkin
2022-12-28 18:35:56 +00:00
committed by Automerger Merge Worker
5 changed files with 1 additions and 20 deletions

View File

@@ -84,8 +84,7 @@ object KeyguardQuickAffordanceProviderContract {
const val IS_ENABLED = "is_enabled" const val IS_ENABLED = "is_enabled"
/** /**
* String. List of strings, delimited by [ENABLEMENT_INSTRUCTIONS_DELIMITER] to be shown * String. List of strings, delimited by [ENABLEMENT_INSTRUCTIONS_DELIMITER] to be shown
* to the user if the affordance is disabled and the user selects the affordance. The * to the user if the affordance is disabled and the user selects the affordance.
* first one is a title while the rest are the steps needed to re-enable the affordance.
*/ */
const val ENABLEMENT_INSTRUCTIONS = "enablement_instructions" const val ENABLEMENT_INSTRUCTIONS = "enablement_instructions"
/** /**

View File

@@ -2706,12 +2706,6 @@
--> -->
<string name="keyguard_affordance_enablement_dialog_action_template">Open <xliff:g id="appName" example="Wallet">%1$s</xliff:g></string> <string name="keyguard_affordance_enablement_dialog_action_template">Open <xliff:g id="appName" example="Wallet">%1$s</xliff:g></string>
<!--
Template for a message shown right before a list of instructions that tell the user what to do
in order to enable a shortcut to a specific app. [CHAR LIMIT=NONE]
-->
<string name="keyguard_affordance_enablement_dialog_message">To add the <xliff:g id="appName" example="Wallet">%1$s</xliff:g> app as a shortcut, make sure</string>
<!-- <!--
Requirement for the wallet app to be available for the user to use. This is shown as part of a Requirement for the wallet 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

View File

@@ -80,10 +80,6 @@ constructor(
return KeyguardQuickAffordanceConfig.PickerScreenState.Disabled( return KeyguardQuickAffordanceConfig.PickerScreenState.Disabled(
instructions = instructions =
listOf( listOf(
context.getString(
R.string.keyguard_affordance_enablement_dialog_message,
pickerName,
),
context.getString( context.getString(
R.string.keyguard_affordance_enablement_dialog_home_instruction_1 R.string.keyguard_affordance_enablement_dialog_home_instruction_1
), ),

View File

@@ -83,10 +83,6 @@ constructor(
KeyguardQuickAffordanceConfig.PickerScreenState.Disabled( KeyguardQuickAffordanceConfig.PickerScreenState.Disabled(
instructions = instructions =
listOf( listOf(
context.getString(
R.string.keyguard_affordance_enablement_dialog_message,
pickerName,
),
context.getString( context.getString(
R.string R.string
.keyguard_affordance_enablement_dialog_qr_scanner_instruction .keyguard_affordance_enablement_dialog_qr_scanner_instruction

View File

@@ -117,10 +117,6 @@ constructor(
KeyguardQuickAffordanceConfig.PickerScreenState.Disabled( KeyguardQuickAffordanceConfig.PickerScreenState.Disabled(
instructions = instructions =
listOf( listOf(
context.getString(
R.string.keyguard_affordance_enablement_dialog_message,
pickerName,
),
context.getString( context.getString(
R.string.keyguard_affordance_enablement_dialog_wallet_instruction_1 R.string.keyguard_affordance_enablement_dialog_wallet_instruction_1
), ),