Merge "Update javadoc for setManagedSubscriptionsPolicy" into udc-dev am: c0fdac3dc7 am: 4b82fc5da8

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23515474

Change-Id: If07f20427362acd61ce02a65468e9f123c723f76
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Rubin Xu
2023-06-08 16:58:52 +00:00
committed by Automerger Merge Worker

View File

@@ -11369,7 +11369,8 @@ public class DevicePolicyManager {
* @throws SecurityException if the caller is not a profile owner on an organization-owned
* managed profile.
* @throws IllegalStateException if called after the device setup has been completed.
* @throws UnsupportedOperationException if the api is not enabled.
* @throws UnsupportedOperationException if managed subscriptions policy is not explicitly
* enabled by the device policy management role holder during device setup.
* @see ManagedSubscriptionsPolicy
*/
public void setManagedSubscriptionsPolicy(@Nullable ManagedSubscriptionsPolicy policy) {