diff options
Diffstat (limited to 'java/com/android/dialer/assisteddialing/AssistedDialingMediatorStub.java')
-rw-r--r-- | java/com/android/dialer/assisteddialing/AssistedDialingMediatorStub.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/java/com/android/dialer/assisteddialing/AssistedDialingMediatorStub.java b/java/com/android/dialer/assisteddialing/AssistedDialingMediatorStub.java index fe32e2c9a..9a40e0576 100644 --- a/java/com/android/dialer/assisteddialing/AssistedDialingMediatorStub.java +++ b/java/com/android/dialer/assisteddialing/AssistedDialingMediatorStub.java @@ -32,6 +32,14 @@ public final class AssistedDialingMediatorStub implements AssistedDialingMediato return Optional.empty(); } + /** Always returns an empty Optional. */ + @Override + @SuppressWarnings("AndroidApiChecker") // Use of optional + @TargetApi(VERSION_CODES.N) + public Optional<String> userHomeCountryCode() { + return Optional.empty(); + } + @Override public boolean isPlatformEligible() { return false; |