Forum Discussion

user123's avatar
user123
Level 1.5: Cupcake
4 months ago

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

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);

No RepliesBe the first to reply