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

Commit 9d936591 authored by kmccormick's avatar kmccormick Committed by Android Git Automerger
Browse files

am f5726617: am 2144eee3: am 3fb5536d: am 91e01a4d: Merge "Doc update: fix...

am f5726617: am 2144eee3: am 3fb5536d: am 91e01a4d: Merge "Doc update: fix broken code sample" into jb-mr1.1-docs

* commit 'f5726617':
  Doc update: fix broken code sample
parents fa387c51 f5726617
Loading
Loading
Loading
Loading
+7 −10
Original line number Diff line number Diff line
@@ -106,16 +106,13 @@ public final class CalendarContract {
     * {@link Activity#RESULT_OK} or {@link Activity#RESULT_CANCELED} to
     * acknowledge whether the action was handled or not.
     *
     * The custom app should have an intent-filter like the following
     * The custom app should have an intent filter like the following:
     * <pre>
     * {@code
     * <intent-filter>
     *    <action android:name="android.provider.calendar.action.HANDLE_CUSTOM_EVENT" />
     *    <category android:name="android.intent.category.DEFAULT" />
     *    <data android:mimeType="vnd.android.cursor.item/event" />
     * </intent-filter>
     * }
     * </pre>
     * &lt;intent-filter&gt;
     *    &lt;action android:name="android.provider.calendar.action.HANDLE_CUSTOM_EVENT" /&gt;
     *    &lt;category android:name="android.intent.category.DEFAULT" /&gt;
     *    &lt;data android:mimeType="vnd.android.cursor.item/event" /&gt;
     * &lt;/intent-filter&gt;</pre>
     * <p>
     * Input: {@link Intent#getData} has the event URI. The extra
     * {@link #EXTRA_EVENT_BEGIN_TIME} has the start time of the instance. The
@@ -123,7 +120,7 @@ public final class CalendarContract {
     * {@link EventsColumns#CUSTOM_APP_URI}.
     * <p>
     * Output: {@link Activity#RESULT_OK} if this was handled; otherwise
     * {@link Activity#RESULT_CANCELED}
     * {@link Activity#RESULT_CANCELED}.
     */
    @SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
    public static final String ACTION_HANDLE_CUSTOM_EVENT =