Revert "Replace enforceXXX methods (managed profile)"

This reverts commit 52743c9a17160378f9c512ef1478b9379f5cd435.

Reason for revert: Unable to setup work profile

Bug: 168776733
Change-Id: I1889da2f4501344f76e4b6d9d33b08bf719b5237
2 files changed