Reaaply policies on reboot

And add missing policy engine gating checks

Bug: 273494642
Test: btest android.devicepolicy.cts.LockTaskTest
Change-Id: Ie1e610f01a22321f8b82a8731f4346d7b3c4029d
2 files changed