Remove NetworkMonitor dependency on ICaptivePortal

ICaptivePortal is used in the framework and cannot be used as a
dependency in NetworkMonitor, as the framework class takes precedence
when linking.
Also fix NetworkMonitorTest that was not verifying the right
startCaptivePortalApp call.

Test: atest FrameworksNetTests NetworkStackTests
Bug: 124033493
Change-Id: I8e7bb79e50650ae182a2e4277fb49abf5fb6d910
Merged-In: Ib6a89e54312628662b130fbeec18d11e139f09fa
3 files changed
tree: 766520fa3500e0489963e5b8bc8db2d2d7c32205
  1. src/
  2. tests/
  3. Android.bp
  4. AndroidManifest.xml
  5. OWNERS
  6. TEST_MAPPING