am f36a2bb5: Merge change Ibeb22f37 into eclair
Merge commit 'f36a2bb59b846545946124124d3290bd3eec44f0' into eclair-plus-aosp * commit 'f36a2bb59b846545946124124d3290bd3eec44f0': Call the proper variant of markAsContacted.
This commit is contained in:
@@ -16,16 +16,14 @@
|
||||
|
||||
package android.provider;
|
||||
|
||||
import com.android.internal.telephony.CallerInfo;
|
||||
import com.android.internal.telephony.Connection;
|
||||
|
||||
import android.content.ContentResolver;
|
||||
import android.content.ContentValues;
|
||||
import android.content.Context;
|
||||
import android.net.Uri;
|
||||
import android.provider.Contacts.People;
|
||||
import com.android.internal.telephony.CallerInfo;
|
||||
import com.android.internal.telephony.Connection;
|
||||
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
|
||||
/**
|
||||
* The CallLog provider contains information about placed and received calls.
|
||||
@@ -179,7 +177,7 @@ public class CallLog {
|
||||
}
|
||||
|
||||
if ((ci != null) && (ci.person_id > 0)) {
|
||||
People.markAsContacted(resolver, ci.person_id);
|
||||
ContactsContract.Contacts.markAsContacted(resolver, ci.person_id);
|
||||
}
|
||||
|
||||
Uri result = resolver.insert(CONTENT_URI, values);
|
||||
|
||||
Reference in New Issue
Block a user