Allow device owner to configure profile network preference

isMangedProfile returns true for managed profiles.
But enterprise device can be fully managed like device owner.
Hence check specifically if request is coming on fully managed
device.

Bug: 226966328
Bug: 231071836

Test: ran DevicePolicyManager CTS and ConnectivityServiceTest
Change-Id: I7827466bd61e24ba9c36c3a2e25043257e2ed602
(cherry picked from commit bb65aa8fc24fe3325e0a4b5197dda3904ea2589d)
Merged-In: I7827466bd61e24ba9c36c3a2e25043257e2ed602
2 files changed