Skip to main content
New Member
Nov 13, 2024 8:32 AM UTC
Question

After creating a new user via createAndManageUser, how can the DISALLOW_OUTGOING_CALLS restriction be removed?

  • 0 replies
  • 10 views
  • Translate All • Beta, powered by Gemini

After creating a new user using createAndManageUser, I want to use the profile owner to clear the DISALLOW_OUTGOING_CALLS restriction on the new user, but it doesn't take effect. What should I do?
Code: mDevicePolicyManager.clearUserRestriction(mComponentName, UserManager.DISALLOW_OUTGOING_CALLS);