summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/phonelookup
diff options
context:
space:
mode:
authortwyen <twyen@google.com>2018-03-19 15:20:59 -0700
committerCopybara-Service <copybara-piper@google.com>2018-03-19 15:23:28 -0700
commitcd3d49843431913c2ff042d2294a8b5201877882 (patch)
tree7bd55b5175802fe3ac8fe4c45bf27cdd583ee580 /java/com/android/dialer/phonelookup
parentf4a48247329967ecc3f952b8604f122d0cbc2e28 (diff)
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
Diffstat (limited to 'java/com/android/dialer/phonelookup')
-rw-r--r--java/com/android/dialer/phonelookup/consolidator/PhoneLookupInfoConsolidator.java9
1 files changed, 0 insertions, 9 deletions
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
@@ -267,15 +267,6 @@ public final class PhoneLookupInfoConsolidator {
/**
* 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.
*/
public boolean isBlocked() {