diff options
author | Wink Saville <wink@google.com> | 2012-07-10 12:37:54 -0700 |
---|---|---|
committer | Wink Saville <wink@google.com> | 2012-07-11 16:02:08 -0700 |
commit | a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a (patch) | |
tree | 8fc3e0698132d5fdba03726a1468fefa18dd2a02 /core/java/android/provider/CallLog.java | |
parent | 64ab8fcd6f2011c0d185f2973b9615f155f6d239 (diff) | |
download | frameworks_base-a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a.zip frameworks_base-a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a.tar.gz frameworks_base-a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a.tar.bz2 |
Create telephony-common and mms-common
These have been created to reduce the size and complexity
of frameworks/base.
mms-common was created by moving all of
frameworks/base/core/java/com/google/android/mms
to:
frameworks/opt/mms
telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony
Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
Diffstat (limited to 'core/java/android/provider/CallLog.java')
-rw-r--r-- | core/java/android/provider/CallLog.java | 8 |
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 = ""; } |