Fix CaptivePortalTest before R

The last change broke the test on Q and R. Fix it to check
Q and R behavior properly, so the test can be run in presubmit
on such devices too.

Bug: 181844595
Change-Id: I99847ea30d49d690d9011d4763a7345126807119
Test: atest CtsNetTestCasesLatestSdk
1 file changed
tree: 07c120da35f084d01ea56a8d340177e23cfd9123
  1. core/
  2. framework/
  3. service/
  4. services/
  5. tests/
  6. OWNERS