Merge "Adding limit and offset query parameters to CallLog." into jb-mr1-dev
This commit is contained in:
@@ -17234,9 +17234,11 @@ package android.provider {
|
||||
field public static final java.lang.String DURATION = "duration";
|
||||
field public static final int INCOMING_TYPE = 1; // 0x1
|
||||
field public static final java.lang.String IS_READ = "is_read";
|
||||
field public static final java.lang.String LIMIT_PARAM_KEY = "limit";
|
||||
field public static final int MISSED_TYPE = 3; // 0x3
|
||||
field public static final java.lang.String NEW = "new";
|
||||
field public static final java.lang.String NUMBER = "number";
|
||||
field public static final java.lang.String OFFSET_PARAM_KEY = "offset";
|
||||
field public static final int OUTGOING_TYPE = 2; // 0x2
|
||||
field public static final java.lang.String TYPE = "type";
|
||||
}
|
||||
|
||||
@@ -17,9 +17,6 @@
|
||||
|
||||
package android.provider;
|
||||
|
||||
import com.android.internal.telephony.CallerInfo;
|
||||
import com.android.internal.telephony.PhoneConstants;
|
||||
|
||||
import android.content.ContentResolver;
|
||||
import android.content.ContentValues;
|
||||
import android.content.Context;
|
||||
@@ -30,6 +27,9 @@ import android.provider.ContactsContract.CommonDataKinds.Phone;
|
||||
import android.provider.ContactsContract.DataUsageFeedback;
|
||||
import android.text.TextUtils;
|
||||
|
||||
import com.android.internal.telephony.CallerInfo;
|
||||
import com.android.internal.telephony.PhoneConstants;
|
||||
|
||||
/**
|
||||
* The CallLog provider contains information about placed and received calls.
|
||||
*/
|
||||
@@ -58,6 +58,20 @@ public class CallLog {
|
||||
public static final Uri CONTENT_FILTER_URI =
|
||||
Uri.parse("content://call_log/calls/filter");
|
||||
|
||||
/**
|
||||
* Query parameter used to limit the number of call logs returned.
|
||||
* <p>
|
||||
* TYPE: integer
|
||||
*/
|
||||
public static final String LIMIT_PARAM_KEY = "limit";
|
||||
|
||||
/**
|
||||
* Query parameter used to specify the starting record to return.
|
||||
* <p>
|
||||
* TYPE: integer
|
||||
*/
|
||||
public static final String OFFSET_PARAM_KEY = "offset";
|
||||
|
||||
/**
|
||||
* An optional URI parameter which instructs the provider to allow the operation to be
|
||||
* applied to voicemail records as well.
|
||||
|
||||
Reference in New Issue
Block a user