diff options
| author | 2022-12-28 19:15:13 +0000 | |
|---|---|---|
| committer | 2022-12-28 19:15:13 +0000 | |
| commit | 41f01d7e22761e50aa2cb54a0022f8282246f5cc (patch) | |
| tree | 284109a2116df36cb8c3fe0efb5f8f7ff746dd16 | |
| parent | 6a48e62f13530b683dda9e1fb3848a4dd985c115 (diff) | |
| parent | b9e9518f87a3c475072787df72ccf74c2464c6bc (diff) | |
Merge "Beautifies picker disabled dialogs (1/2)." into tm-qpr-dev am: 32f475e7da am: b9e9518f87
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20816864
Change-Id: I7e49f64dacbc6474deb416ac4cec4085702b7fff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
5 files changed, 1 insertions, 20 deletions
diff --git a/packages/SystemUI/customization/src/com/android/systemui/shared/quickaffordance/data/content/KeyguardQuickAffordanceProviderContract.kt b/packages/SystemUI/customization/src/com/android/systemui/shared/quickaffordance/data/content/KeyguardQuickAffordanceProviderContract.kt index e197752f2d3c..9491816243bf 100644 --- a/packages/SystemUI/customization/src/com/android/systemui/shared/quickaffordance/data/content/KeyguardQuickAffordanceProviderContract.kt +++ b/packages/SystemUI/customization/src/com/android/systemui/shared/quickaffordance/data/content/KeyguardQuickAffordanceProviderContract.kt @@ -84,8 +84,7 @@ object KeyguardQuickAffordanceProviderContract { const val IS_ENABLED = "is_enabled" /** * 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 - * first one is a title while the rest are the steps needed to re-enable the affordance. + * to the user if the affordance is disabled and the user selects the affordance. */ const val ENABLEMENT_INSTRUCTIONS = "enablement_instructions" /** diff --git a/packages/SystemUI/res/values/strings.xml b/packages/SystemUI/res/values/strings.xml index 2eb58b9c98ec..a08cd7b7ef4c 100644 --- a/packages/SystemUI/res/values/strings.xml +++ b/packages/SystemUI/res/values/strings.xml @@ -2826,12 +2826,6 @@ <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 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]. diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/HomeControlsKeyguardQuickAffordanceConfig.kt b/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/HomeControlsKeyguardQuickAffordanceConfig.kt index 394426df5552..09e5ec0065f8 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/HomeControlsKeyguardQuickAffordanceConfig.kt +++ b/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/HomeControlsKeyguardQuickAffordanceConfig.kt @@ -81,10 +81,6 @@ constructor( instructions = listOf( context.getString( - R.string.keyguard_affordance_enablement_dialog_message, - pickerName, - ), - context.getString( R.string.keyguard_affordance_enablement_dialog_home_instruction_1 ), context.getString( diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/QrCodeScannerKeyguardQuickAffordanceConfig.kt b/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/QrCodeScannerKeyguardQuickAffordanceConfig.kt index a96ce77ee15c..4f7990ff0deb 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/QrCodeScannerKeyguardQuickAffordanceConfig.kt +++ b/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/QrCodeScannerKeyguardQuickAffordanceConfig.kt @@ -84,10 +84,6 @@ constructor( instructions = listOf( context.getString( - R.string.keyguard_affordance_enablement_dialog_message, - pickerName, - ), - context.getString( R.string .keyguard_affordance_enablement_dialog_qr_scanner_instruction ), diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/QuickAccessWalletKeyguardQuickAffordanceConfig.kt b/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/QuickAccessWalletKeyguardQuickAffordanceConfig.kt index beb20ce4540c..1928f40fa059 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/QuickAccessWalletKeyguardQuickAffordanceConfig.kt +++ b/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/QuickAccessWalletKeyguardQuickAffordanceConfig.kt @@ -118,10 +118,6 @@ constructor( instructions = listOf( context.getString( - R.string.keyguard_affordance_enablement_dialog_message, - pickerName, - ), - context.getString( R.string.keyguard_affordance_enablement_dialog_wallet_instruction_1 ), context.getString( |