googlesamples / googlesamples/android-testdpc

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

Open
#231 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1k
Forks
422
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.