diff options
| -rw-r--r-- | core/java/android/provider/CalendarContract.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/provider/CalendarContract.java b/core/java/android/provider/CalendarContract.java index fa244e480e11..2f68eb475e7a 100644 --- a/core/java/android/provider/CalendarContract.java +++ b/core/java/android/provider/CalendarContract.java @@ -187,6 +187,10 @@ public final class CalendarContract { * {@link android.database.ContentObserver} for this URL in the primary profile will be * notified when there is a change in the managed profile calendar provider. * + * <p>Throw UnsupportedOperationException if another profile doesn't exist or is disabled, or + * if the calling package is not whitelisted to access cross-profile calendar, or if the + * feature has been disabled by the user in Settings. + * * @see Events#ENTERPRISE_CONTENT_URI * @see Calendars#ENTERPRISE_CONTENT_URI * @see Instances#ENTERPRISE_CONTENT_URI |