File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
core/java/android/provider Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,17 @@ public final class CalendarContract {
105105 * and it should call {@link Activity#setResult(int)} with
106106 * {@link Activity#RESULT_OK} or {@link Activity#RESULT_CANCELED} to
107107 * acknowledge whether the action was handled or not.
108+ *
109+ * The custom app should have an intent-filter like the following
110+ * <pre>
111+ * {@code
112+ * <intent-filter>
113+ * <action android:name="android.provider.calendar.action.HANDLE_CUSTOM_EVENT" />
114+ * <category android:name="android.intent.category.DEFAULT" />
115+ * <data android:mimeType="vnd.android.cursor.item/event" />
116+ * </intent-filter>
117+ * }
118+ * </pre>
108119 * <p>
109120 * Input: {@link Intent#getData} has the event URI. The extra
110121 * {@link #EXTRA_EVENT_BEGIN_TIME} has the start time of the instance. The
You can’t perform that action at this time.
0 commit comments