Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63b709d9 authored by Daisuke Miyakawa's avatar Daisuke Miyakawa
Browse files

Add return value spec and fix typo.

Bug: 4371572
Change-Id: I4906a8f337dee855ef753e65eb69bdb02b1a0d72
parent 0e3c9ad3
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -6189,13 +6189,17 @@ public final class ContactsContract {
     * toward {@link Data#CONTENT_URI}.
     * </p>
     * <p>
     * {@link ContentResolver#update(Uri, ContentValues, String, String[])} returns a positive
     * integer when successful, and returns 0 if no contact with that id was found.
     * </p>
     * <p>
     * Example:
     * <pre>
     * Uri uri = DataUsageFeedback.UPDATE_URI.buildUpon()
     *         .appendPath(TextUtils.join(",", dataIds))
     *         .appendQueryParameter(DataUsageFeedback.METHOD, DataUsageFeedback.METHOD_CALL)
     *         .build();
     * resolver.update(uri, new ContentValues(), null, null);
     * boolean successful = resolver.update(uri, new ContentValues(), null, null) > 0;
     * </pre>
     * </p>
     * @hide
@@ -6214,7 +6218,7 @@ public final class ContactsContract {
         * Name for query parameter specifying the type of data usage.
         * </p>
         */
        public static final String USAGE_TYPE = "method";
        public static final String USAGE_TYPE = "type";

        /**
         * <p>