Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73d8ddb2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Support sign-in title variant 'Use your saved password for <app>?'"...

Merge "Support sign-in title variant 'Use your saved password for <app>?'" into udc-dev am: daa90f67

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



Change-Id: I4959c2bf71d7c834302b3abdc2e2ebf008949fc1
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 06d6709d daa90f67
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -216,10 +216,12 @@ fun PrimarySelectionCard(
                HeadlineText(
                    text = stringResource(
                        if (hasSingleEntry) {
                            if (sortedUserNameToCredentialEntryList.firstOrNull()
                            val singleEntryType = sortedUserNameToCredentialEntryList.firstOrNull()
                                ?.sortedCredentialEntryList?.first()?.credentialType
                                == CredentialType.PASSKEY
                            ) R.string.get_dialog_title_use_passkey_for
                            if (singleEntryType == CredentialType.PASSKEY)
                                R.string.get_dialog_title_use_passkey_for
                            else if (singleEntryType == CredentialType.PASSWORD)
                                R.string.get_dialog_title_use_password_for
                            else R.string.get_dialog_title_use_sign_in_for
                        } else R.string.get_dialog_title_choose_sign_in_for,
                        requestDisplayInfo.appName