Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89511e74 authored by Rubin Xu's avatar Rubin Xu
Browse files

Update javadoc for setManagedSubscriptionsPolicy

Mention when the API is not enabled.

Bug: 282926780
Test: builds
Change-Id: Ibb5f938f17f3fe7f2a42a0f3a62afef560a31777
parent 879e951e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -11368,7 +11368,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) {