File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
core/java/android/provider Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -16944,6 +16944,7 @@ package android.provider {
1694416944
1694516945 public static final class ContactsContract.DataUsageFeedback {
1694616946 ctor public ContactsContract.DataUsageFeedback();
16947+ field public static final android.net.Uri DELETE_USAGE_URI;
1694716948 field public static final android.net.Uri FEEDBACK_URI;
1694816949 field public static final java.lang.String USAGE_TYPE = "type";
1694916950 field public static final java.lang.String USAGE_TYPE_CALL = "call";
Original file line number Diff line number Diff line change @@ -7504,7 +7504,7 @@ private ProviderStatus() {
75047504 * <p>
75057505 * Applications can also clear all usage information with:
75067506 * <pre>
7507- * boolean successful = resolver.delete(DataUsageFeedback.FEEDBACK_URI , null, null) > 0;
7507+ * boolean successful = resolver.delete(DataUsageFeedback.DELETE_USAGE_URI , null, null) > 0;
75087508 * </pre>
75097509 * </p>
75107510 */
@@ -7517,6 +7517,14 @@ public static final class DataUsageFeedback {
75177517 public static final Uri FEEDBACK_URI =
75187518 Uri .withAppendedPath (Data .CONTENT_URI , "usagefeedback" );
75197519
7520+ /**
7521+ * The content:// style URI for deleting all usage information.
7522+ * Must be used with {@link ContentResolver#delete(Uri, String, String[])}.
7523+ * The {@code where} and {@code selectionArgs} parameters are ignored.
7524+ */
7525+ public static final Uri DELETE_USAGE_URI =
7526+ Uri .withAppendedPath (Contacts .CONTENT_URI , "delete_usage" );
7527+
75207528 /**
75217529 * <p>
75227530 * Name for query parameter specifying the type of data usage.
You can’t perform that action at this time.
0 commit comments