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

Commit 6f5b4550 authored by Andy McFadden's avatar Andy McFadden
Browse files

Use public constants

Some of the internal doc references were using non-public ways to
get at constants.

Bug 4575374

Change-Id: I4884d8db964950d92b3f26634724b201674bea8c
parent 604d7fe7
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -85,10 +85,10 @@ public final class Calendar {
     * {@link ContentResolver#notifyChange(android.net.Uri, android.database.ContentObserver, boolean)}
     * , the third parameter "syncToNetwork" is set to false. Furthermore, if
     * set to true, the caller must also include
     * {@link SyncColumns#ACCOUNT_NAME} and {@link SyncColumns#ACCOUNT_TYPE} as
     * {@link Calendars#ACCOUNT_NAME} and {@link Calendars#ACCOUNT_TYPE} as
     * query parameters.
     *
     * @See Uri.Builder#appendQueryParameter(java.lang.String, java.lang.String)
     * @see Uri.Builder#appendQueryParameter(java.lang.String, java.lang.String)
     */
    public static final String CALLER_IS_SYNCADAPTER = "caller_is_syncadapter";

@@ -185,7 +185,7 @@ public final class Calendar {

        /**
         * If set to 1 this causes events on this calendar to be duplicated with
         * {@link EventsColumns#LAST_SYNCED} set to 1 whenever the event transitions from non-dirty
         * {@link Events#LAST_SYNCED} set to 1 whenever the event transitions from non-dirty
         * to dirty. The duplicated event will not be expanded in the instances table and will only
         * show up in sync adapter queries of the events table. It will also be deleted when the
         * originating event has its dirty flag cleared by the sync adapter.