Merge "Update the contract docummentation regarding UnsupportedOperationException." into qt-dev

This commit is contained in:
Yasmin Molazadeh
2019-05-07 13:07:37 +00:00
committed by Android (Google) Code Review

View File

@@ -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