Skip data stall check when ignoring captive portal

Skip the data stall check when the captive portal mode is set to
CAPTIVE_PORTAL_MODE_IGNORE. Since probing is skipped when ignoring
captive portal, data stall detection should not be done on broken
networks to avoid constant reevaluation.

Bug: 256541046
Test: atest NetworkStackTests NetworkStackNextTests
Change-Id: I3f5569eb86df7a27f059624eedbe6e0d349557e2
2 files changed