Skip to content

Commit b0d2299

Browse files
author
Makoto Onuki
committed
Add documentation about clearing usage stats
Bug 5475575 Change-Id: Idee771a6b29dcd4870090cd1b5c72e126886fb47
1 parent b187d52 commit b0d2299

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

core/java/android/provider/ContactsContract.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7452,7 +7452,7 @@ private ProviderStatus() {
74527452
/**
74537453
* <p>
74547454
* API allowing applications to send usage information for each {@link Data} row to the
7455-
* Contacts Provider.
7455+
* Contacts Provider. Applications can also clear all usage information.
74567456
* </p>
74577457
* <p>
74587458
* With the feedback, Contacts Provider may return more contextually appropriate results for
@@ -7497,6 +7497,12 @@ private ProviderStatus() {
74977497
* boolean successful = resolver.update(uri, new ContentValues(), null, null) > 0;
74987498
* </pre>
74997499
* </p>
7500+
* <p>
7501+
* Applications can also clear all usage information with:
7502+
* <pre>
7503+
* boolean successful = resolver.delete(DataUsageFeedback.FEEDBACK_URI, null, null) > 0;
7504+
* </pre>
7505+
* </p>
75007506
*/
75017507
public static final class DataUsageFeedback {
75027508

0 commit comments

Comments
 (0)