summaryrefslogtreecommitdiffstats
path: root/telephony/java/com/android/internal/telephony/CallerInfo.java
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2009-05-28 17:32:34 -0700
committerWink Saville <wink@google.com>2009-05-28 17:32:34 -0700
commitdda5391d5079537e275c9f4ed2637a1484d0e4e8 (patch)
treee7dfc8ecf0ff07d946a7be2ae7d9b4aab8cdebb9 /telephony/java/com/android/internal/telephony/CallerInfo.java
parent1cb62b83241c5d1cac9e9cda60d0d5d9218b44fb (diff)
downloadframeworks_base-dda5391d5079537e275c9f4ed2637a1484d0e4e8.zip
frameworks_base-dda5391d5079537e275c9f4ed2637a1484d0e4e8.tar.gz
frameworks_base-dda5391d5079537e275c9f4ed2637a1484d0e4e8.tar.bz2
Motorola additions for CDMA support without CdmaSuppConnTracker
There are corresponding changes to hardware/ril and packages/apps/Phone that are required to go with these changes.
Diffstat (limited to 'telephony/java/com/android/internal/telephony/CallerInfo.java')
-rw-r--r--telephony/java/com/android/internal/telephony/CallerInfo.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/telephony/java/com/android/internal/telephony/CallerInfo.java b/telephony/java/com/android/internal/telephony/CallerInfo.java
index da53e15..32f31ef 100644
--- a/telephony/java/com/android/internal/telephony/CallerInfo.java
+++ b/telephony/java/com/android/internal/telephony/CallerInfo.java
@@ -70,6 +70,12 @@ public class CallerInfo {
*/
public String name;
public String phoneNumber;
+
+ public String cnapName;
+ public int numberPresentation;
+ public int namePresentation;
+ public boolean contactExists;
+
public String phoneLabel;
/* Split up the phoneLabel into number type and label name */
public int numberType;
@@ -118,6 +124,7 @@ public class CallerInfo {
info.numberLabel = null;
info.cachedPhoto = null;
info.isCachedPhotoCurrent = false;
+ info.contactExists = false;
if (Config.LOGV) Log.v(TAG, "construct callerInfo from cursor");
@@ -176,6 +183,7 @@ public class CallerInfo {
columnIndex = cursor.getColumnIndex(People.SEND_TO_VOICEMAIL);
info.shouldSendToVoicemail = (columnIndex != -1) &&
((cursor.getInt(columnIndex)) == 1);
+ info.contactExists = true;
}
cursor.close();
}
@@ -303,4 +311,3 @@ public class CallerInfo {
}
}
}
-