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

Commit 68df3a78 authored by Joy Babafemi's avatar Joy Babafemi Committed by Android (Google) Code Review
Browse files

Merge "Fix total entry count reference" into main

parents 31beeef2 e0d673d2
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -237,11 +237,8 @@ class CredentialAutofillService : AutofillService() {
        if (providerList.isEmpty()) {
            return false
        }
        var totalEntryCount = 0
        providerList.forEach { provider ->
            totalEntryCount += provider.credentialEntryList.size
        }
        val providerDisplayInfo: ProviderDisplayInfo = toProviderDisplayInfo(providerList)
        var totalEntryCount = providerDisplayInfo.sortedUserNameToCredentialEntryList.size
        val inlineSuggestionsRequest = filLRequest.inlineSuggestionsRequest
        val inlineMaxSuggestedCount = inlineSuggestionsRequest?.maxSuggestionCount ?: 0
        val inlinePresentationSpecs = inlineSuggestionsRequest?.inlinePresentationSpecs