Skip to content

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

@ZhangJP01

Description

@ZhangJP01

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions