Use BiometricPrompt description field for CC description instead

The description field handles longer strings more gracefully

Fixes: 124001277

Test: 1) Open Wi-Fi picker
      2) Select gear on the connected network
      3) Select share button
      4) On BiometricPrompt, text is not cropped

Change-Id: I945830a137a0dc203bba04728b507ceff020dfdc
This commit is contained in:
Kevin Chyn
2019-02-14 17:43:45 -08:00
parent cd15971f14
commit 200162b06a

View File

@@ -184,7 +184,7 @@ public class ConfirmDeviceCredentialActivity extends FragmentActivity {
} else {
bpBundle = new Bundle();
bpBundle.putString(BiometricPrompt.KEY_TITLE, mTitle);
bpBundle.putString(BiometricPrompt.KEY_SUBTITLE, mDetails);
bpBundle.putString(BiometricPrompt.KEY_DESCRIPTION, mDetails);
}
boolean launchedBiometric = false;