Scan for networks on UI init (#21310)
* refresh on UI init * scan and wait for signal from networkmanager to update * fixes incorrectPassword never triggering on known connections * Update UI on connect state change * pause timer on leaving networking * no need to update adapter state on init * uses AccessPoints signal clean up clean up * Revert "uses AccessPoints signal" This reverts commit 534219857a10dc200f979e1a66705ac13ca68698. * perform non-blocking scan on first start only * suggestions * forgetNetwork already checks this * Prevent double refresh on connect interaction and revert timer change * Should fix nm is inactive error * Revert "Should fix nm is inactive error" This reverts commit 36a7ad098b713ae7e17cf1a8d717455ecdd29e2b. * Fixup original timer code. could be cleaned up, but works * use WifiManager's firstScan * no more force! * fix after rebase fix after rebase * scan for next update (seems clearer this way) * see how responsive device is at scanning, PC is taking up to 15 seconds * clean up and check ifVisible for scanning and UI updating * explicitly define relationship since it's not called in Networking any morepull/21390/head
parent
09de331f18
commit
a3a8fa9eac
4 changed files with 36 additions and 24 deletions
Loading…
Reference in new issue