summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider/CallLog.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/provider/CallLog.java')
-rw-r--r--core/java/android/provider/CallLog.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/provider/CallLog.java b/core/java/android/provider/CallLog.java
index 7824724..22b68bc 100644
--- a/core/java/android/provider/CallLog.java
+++ b/core/java/android/provider/CallLog.java
@@ -18,7 +18,7 @@
package android.provider;
import com.android.internal.telephony.CallerInfo;
-import com.android.internal.telephony.Connection;
+import com.android.internal.telephony.PhoneConstants;
import android.content.ContentResolver;
import android.content.ContentValues;
@@ -267,14 +267,14 @@ public class CallLog {
// If this is a private number then set the number to Private, otherwise check
// if the number field is empty and set the number to Unavailable
- if (presentation == Connection.PRESENTATION_RESTRICTED) {
+ if (presentation == PhoneConstants.PRESENTATION_RESTRICTED) {
number = CallerInfo.PRIVATE_NUMBER;
if (ci != null) ci.name = "";
- } else if (presentation == Connection.PRESENTATION_PAYPHONE) {
+ } else if (presentation == PhoneConstants.PRESENTATION_PAYPHONE) {
number = CallerInfo.PAYPHONE_NUMBER;
if (ci != null) ci.name = "";
} else if (TextUtils.isEmpty(number)
- || presentation == Connection.PRESENTATION_UNKNOWN) {
+ || presentation == PhoneConstants.PRESENTATION_UNKNOWN) {
number = CallerInfo.UNKNOWN_NUMBER;
if (ci != null) ci.name = "";
}