Skip to content
Commit 01e44792 authored by paulhu's avatar paulhu
Browse files

Fix CS external dependencies on CarrierDefaultApp

- Use formal API getSystemService to get ConnectivityManager.
- Stop using setProcessDefaultNetworkForHostResolution(), it's
  only used for legacy API startUsingNetworkFeature() but
  CaptivePortalLoginActivity is used requestNetwork(). So remove
  it from CaptivePortalLoginActivity.

Bug: 183068713
Test: atest CarrierDefaultAppUnitTests
Change-Id: Ib3a5dcb70b71ec5b959aeb90a5e3596f3426ceb1
parent 96a89d8f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment