Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
Use telephony-common
Browse files Browse the repository at this point in the history
Change-Id: I7eef631998e8e567f0e67c4e57d70aa5714aa90d
  • Loading branch information
Wink Saville committed Jul 7, 2012
1 parent fb3ded2 commit e0c5d80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Android.mk
Expand Up @@ -8,7 +8,7 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_SRC_FILES += \
src/com/android/providers/contacts/EventLogTags.logtags

LOCAL_JAVA_LIBRARIES := ext
LOCAL_JAVA_LIBRARIES := ext telephony-common

LOCAL_STATIC_JAVA_LIBRARIES += android-common com.android.vcard guava

Expand Down
Expand Up @@ -17,7 +17,7 @@
package com.android.providers.contacts;

import com.android.internal.telephony.CallerInfo;
import com.android.internal.telephony.Connection;
import com.android.internal.telephony.PhoneConstants;

import android.content.ContentProvider;
import android.content.ContentUris;
Expand Down Expand Up @@ -180,7 +180,7 @@ public void testAddCall() {
ci.numberType = Phone.TYPE_CUSTOM;
ci.numberLabel = "Directory";
Uri uri = Calls.addCall(ci, getMockContext(), "1-800-263-7643",
Connection.PRESENTATION_ALLOWED, Calls.OUTGOING_TYPE, 2000, 40);
PhoneConstants.PRESENTATION_ALLOWED, Calls.OUTGOING_TYPE, 2000, 40);

ContentValues values = new ContentValues();
values.put(Calls.TYPE, Calls.OUTGOING_TYPE);
Expand Down

0 comments on commit e0c5d80

Please sign in to comment.