From cd3d49843431913c2ff042d2294a8b5201877882 Mon Sep 17 00:00:00 2001 From: twyen Date: Mon, 19 Mar 2018 15:20:59 -0700 Subject: Implement VoicemailDataSource This data source determines if the call is to the voicemail inbox. isVoicemail() is removed from NumberAttributes and PhoneLookup. It is yet decided how in call UI should handle voicemail calls in the future. TAG_CHANGE_OK=proto not in prod yet. Please clear app data. TYPE_CHANGE_OK=above Bug: 70989587 Test: Unit tests PiperOrigin-RevId: 189650273 Change-Id: Iafebf1abb18c74301b62a72d1d04deecd6d78d29 --- .../phonelookup/consolidator/PhoneLookupInfoConsolidator.java | 9 --------- 1 file changed, 9 deletions(-) (limited to 'java/com/android/dialer/phonelookup') diff --git a/java/com/android/dialer/phonelookup/consolidator/PhoneLookupInfoConsolidator.java b/java/com/android/dialer/phonelookup/consolidator/PhoneLookupInfoConsolidator.java index 6e867560d..f9ffd0404 100644 --- a/java/com/android/dialer/phonelookup/consolidator/PhoneLookupInfoConsolidator.java +++ b/java/com/android/dialer/phonelookup/consolidator/PhoneLookupInfoConsolidator.java @@ -265,15 +265,6 @@ public final class PhoneLookupInfoConsolidator { && phoneLookupInfo.getPeopleApiInfo().getInfoType() == InfoType.NEARBY_BUSINESS; } - /** - * The {@link PhoneLookupInfo} passed to the constructor is associated with a number. This method - * returns whether the number is a voicemail number. - */ - public boolean isVoicemail() { - // TODO(twyen): implement - return false; - } - /** * The {@link PhoneLookupInfo} passed to the constructor is associated with a number. This method * returns whether the number is blocked. -- cgit v1.2.3