summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/assisteddialing/CountryCodeProvider.java
diff options
context:
space:
mode:
authorerfanian <erfanian@google.com>2017-12-04 15:50:59 -0800
committerCopybara-Service <copybara-piper@google.com>2017-12-04 15:52:03 -0800
commit7658f34ae01715d496573bf7e29e748cb5459f69 (patch)
treeda3e26b8b0f06771ddd3a36b61716d12a2dbb8b6 /java/com/android/dialer/assisteddialing/CountryCodeProvider.java
parent9ffe71da47f4623e227102ca5fe231f280c6d32e (diff)
Add filtration logic to Assisted Dialing Settings.
The filtration logic will only show countries in the country picker if the feature is enabled for those countries. This will not cover the regressive case where a user has already selected a default option, but then the option is later removed. This behavior is currently undefined. Bug: 69274259 Test: unit tests PiperOrigin-RevId: 177881199 Change-Id: I113f6d25249c42c1bd98383fd6ee0bc6a8c0e615
Diffstat (limited to 'java/com/android/dialer/assisteddialing/CountryCodeProvider.java')
-rw-r--r--java/com/android/dialer/assisteddialing/CountryCodeProvider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/android/dialer/assisteddialing/CountryCodeProvider.java b/java/com/android/dialer/assisteddialing/CountryCodeProvider.java
index b12b3ddc0..118696e9b 100644
--- a/java/com/android/dialer/assisteddialing/CountryCodeProvider.java
+++ b/java/com/android/dialer/assisteddialing/CountryCodeProvider.java
@@ -34,7 +34,7 @@ import java.util.stream.Collectors;
/** A class to provide the appropriate country codes related to assisted dialing. */
@TargetApi(VERSION_CODES.N)
@SuppressWarnings("AndroidApiChecker") // Java 8 APIs
-final class CountryCodeProvider {
+public final class CountryCodeProvider {
// TODO(erfanian): Ensure the below standard is consistent between libphonenumber and the
// platform.