Revert "Replace enforceXXX methods (managed profile)"

This reverts commit 52743c9a17160378f9c512ef1478b9379f5cd435.

Reason for revert: Unable to setup work profile

Bug: 168776733
Change-Id: I1889da2f4501344f76e4b6d9d33b08bf719b5237
(cherry picked from commit 900981c9148dfee2b08c53aa78fd38836a2b23d3)
2 files changed