commit | 762691c365a5cb266d9576b678dadb109f18e0f1 | [log] [tgz] |
---|---|---|
author | Becca Hughes <beccahughes@google.com> | Mon May 08 20:58:01 2023 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Mon May 08 20:58:01 2023 +0000 |
tree | 3da9addfd6df7ae2895ccfd7574646aab7806758 | |
parent | 2971c13923a3aa5104d1d2f2e68c2ccb1f5a6909 [diff] | |
parent | 5262570691171cbfb63d345afea1dd224b83e8a5 [diff] |
Merge "Disable all providers if none selected" into udc-dev
diff --git a/src/com/android/settings/applications/credentials/DefaultCombinedPicker.java b/src/com/android/settings/applications/credentials/DefaultCombinedPicker.java index 634be4c..5381056 100644 --- a/src/com/android/settings/applications/credentials/DefaultCombinedPicker.java +++ b/src/com/android/settings/applications/credentials/DefaultCombinedPicker.java
@@ -371,6 +371,11 @@ credManProviders.addAll(primaryCredManProviders); + // If there is no provider then clear all the providers. + if (TextUtils.isEmpty(autofillProvider) && primaryCredManProviders.isEmpty()) { + credManProviders.clear(); + } + service.setEnabledProviders( primaryCredManProviders, credManProviders,