From 66090dce59befa1dbf2ba778c8b98d14fc215475 Mon Sep 17 00:00:00 2001 From: Curtis Belmonte Date: Thu, 26 Mar 2020 13:49:27 -0700 Subject: [PATCH] Set CDC detail string as subtitle, not description With an associated change to the UI of the BiometricPrompt credential view, this commit preserves the current appearance of the CDC auth flow by promoting the "details" string from the description to the subtitle field of the prompt. Test: Manually, using the TestDPC app Bug: 152053691 Change-Id: If1d773f7f9a7b141520eac70a6cd64c09eb27f20 --- .../settings/password/ConfirmDeviceCredentialActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/settings/password/ConfirmDeviceCredentialActivity.java b/src/com/android/settings/password/ConfirmDeviceCredentialActivity.java index 220b64929ad..31427a7ade4 100644 --- a/src/com/android/settings/password/ConfirmDeviceCredentialActivity.java +++ b/src/com/android/settings/password/ConfirmDeviceCredentialActivity.java @@ -208,7 +208,7 @@ public class ConfirmDeviceCredentialActivity extends FragmentActivity { getTitleFromCredentialType(credentialType, isManagedProfile)); } if (mDetails == null) { - bpBundle.putString(BiometricPrompt.KEY_DEVICE_CREDENTIAL_DESCRIPTION, + bpBundle.putString(BiometricPrompt.KEY_DEVICE_CREDENTIAL_SUBTITLE, getDetailsFromCredentialType(credentialType, isManagedProfile)); }