From 78a04abbbc55e0e72865da3b706ae436e371e869 Mon Sep 17 00:00:00 2001 From: Alejandro Nijamkin Date: Thu, 22 Dec 2022 16:38:46 -0800 Subject: [PATCH] Beautifies picker disabled dialogs (1/2). Makes the dialog look like its spec. Fix: 262773261 Test: Manually verified that the dialog looks like the spec Change-Id: Ib48a9c1ac62220c573d35e43c39ea33d7a0ec04e --- .../data/content/KeyguardQuickAffordanceProviderContract.kt | 3 +-- packages/SystemUI/res/values/strings.xml | 6 ------ .../HomeControlsKeyguardQuickAffordanceConfig.kt | 4 ---- .../QrCodeScannerKeyguardQuickAffordanceConfig.kt | 4 ---- .../QuickAccessWalletKeyguardQuickAffordanceConfig.kt | 4 ---- 5 files changed, 1 insertion(+), 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 e197752f2d3cb..9491816243bf4 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 29369cd33cd0a..60dfcb2048dac 100644 --- a/packages/SystemUI/res/values/strings.xml +++ b/packages/SystemUI/res/values/strings.xml @@ -2706,12 +2706,6 @@ --> Open %1$s - - To add the %1$s app as a shortcut, make sure -