Disable security and network logging COPE

* When the COPE work profile is removed, security
  and network logging should be stopped and removed.

Manual testing
* Set up device in COPE mode
* Enable network logging and security logging
  using TestDPC
* Add debugger breakpoint in DPMS.wipeData
* Select 'Remove work profile' in TestDPC
* Verify DPMS SecurityLogMonitor has been stopped
* Verify DPMS NetworkLogger is null

Bug: 182453624
Test: manual testing
Change-Id: I62df832023f12620e936b49240ecdb1cc2a722f5
1 file changed