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

user123
Level 1.5: Cupcake

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

0 REPLIES 0