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

am: 04e3a27c12

Change-Id: I7bfaa0153d967a9faca5834d593f886b0e989a63
This commit is contained in:
Yasmin Molazadeh
2019-05-07 06:27:18 -07:00
committed by android-build-merger

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