summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/speeddial/database/SpeedDialEntry.java
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2018-04-17 20:39:51 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-04-17 20:39:51 +0000
commit7e66a8b5621c9e01f536e62eb66ca988d683a8f6 (patch)
tree16eb20d561a363d85bd4b196d3a4a7c9184a9917 /java/com/android/dialer/speeddial/database/SpeedDialEntry.java
parentfd1238e01ae9e9176259f83ef60edc4a68f4741b (diff)
parentab8573b754a0b5a102a68f5783743ee86ef24614 (diff)
Merge "Migrate SpeedDialUiLoader to use contact lookup URIs."
Diffstat (limited to 'java/com/android/dialer/speeddial/database/SpeedDialEntry.java')
-rw-r--r--java/com/android/dialer/speeddial/database/SpeedDialEntry.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/java/com/android/dialer/speeddial/database/SpeedDialEntry.java b/java/com/android/dialer/speeddial/database/SpeedDialEntry.java
index 13ef4e306..89aed8f37 100644
--- a/java/com/android/dialer/speeddial/database/SpeedDialEntry.java
+++ b/java/com/android/dialer/speeddial/database/SpeedDialEntry.java
@@ -92,16 +92,14 @@ public abstract class SpeedDialEntry {
/**
* Raw phone number as the user entered it.
*
- * @see {@link Phone#NUMBER}
+ * @see Phone#NUMBER
*/
public abstract String number();
- /**
- * Label that the user associated with this number like {@link Phone#TYPE_WORK}, {@link
- * Phone#TYPE_HOME}, ect.
- *
- * @see {@link Phone#LABEL}
- */
+ /** @see Phone#TYPE */
+ public abstract int phoneType();
+
+ /** @see Phone#LABEL */
public abstract String label();
public abstract @Technology int technology();
@@ -118,6 +116,8 @@ public abstract class SpeedDialEntry {
public abstract Builder setNumber(String number);
+ public abstract Builder setPhoneType(int phoneType);
+
public abstract Builder setLabel(String label);
public abstract Builder setTechnology(@Technology int technology);