[CrOS Tether] Allow tests to ignore ethernet during tether host scan
As we try to add new e2e tethering tests, we need a way to make the host scan occur normally even when there is an ethernet connection because there's always an ethernet connection to deploy the test. This CL creates the infrastructure necessary to create a flag to override the prohibition against searching for a tethering host with an ethernet connection by gating it on booleans called ignore_wired_networks_ ----- Testing: I manually tested that this change causes the tethering notification to appear when the user logs in with an ethernet connection but no wifi connection. For comparison, I also tested that logging in with a wifi network does not cause the notification to appear. Bug: 904609 Change-Id: I7406274cd159ae2b18ad6a22ca90cba76b98dbad Reviewed-on: https://chromium-review.googlesource.com/c/1332693 Commit-Queue: Jordy Greenblatt <jordynass@chromium.org> Reviewed-by:Jeremy Klein <jlklein@chromium.org> Cr-Commit-Position: refs/heads/master@{#607461}
Showing
Please register or sign in to comment