From 7658f34ae01715d496573bf7e29e748cb5459f69 Mon Sep 17 00:00:00 2001 From: erfanian Date: Mon, 4 Dec 2017 15:50:59 -0800 Subject: 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 --- java/com/android/dialer/assisteddialing/CountryCodeProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/com/android/dialer/assisteddialing/CountryCodeProvider.java') 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. -- cgit v1.2.3