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

Commit a4fe3971 authored by Michael Chan's avatar Michael Chan Committed by Android Git Automerger
Browse files

am b3961984: am 2faa075e: Merge "Update docs for launching custom app for...

am b3961984: am 2faa075e: Merge "Update docs for launching custom app for calendar events" into jb-dev

* commit 'b3961984':
  Update docs for launching custom app for calendar events
parents 177063a3 b3961984
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -105,6 +105,17 @@ public final class CalendarContract {
     * and it should call {@link Activity#setResult(int)} with
     * {@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
     * <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>
     * <p>
     * Input: {@link Intent#getData} has the event URI. The extra
     * {@link #EXTRA_EVENT_BEGIN_TIME} has the start time of the instance. The