Skip to content
Browse files

Use telephony-common - DO NOT MERGE

Change-Id: I7eef631998e8e567f0e67c4e57d70aa5714aa90d
  • Loading branch information...
1 parent fb3ded2 commit 86a6913b36b007477818c699830c77bf536a2afe Wink Saville committed with Jean-Baptiste Queru Jun 11, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 Android.mk
  2. +2 −2 tests/src/com/android/providers/contacts/CallLogProviderTest.java
View
2 Android.mk
@@ -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
View
4 tests/src/com/android/providers/contacts/CallLogProviderTest.java
@@ -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;
@@ -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);

0 comments on commit 86a6913

Please sign in to comment.
Something went wrong with that request. Please try again.