mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
5146358605
As early as turnOnWifi. Implement it on hasWifiManager platforms, preventing useless connectivity checks to run when they're obviously never going to work because you're out of range of your AP. Also implemented a flag to notify the backend if the connection attempt was interactive or not. Right now, interactive is extremely restricted, it basically means the menu checkmark, or a gesture. The intent being that for stuff like the beforeWifiAction framework, we don't want the backend to spawn extra UI. Specifically, for hasWifiManager platforms, we no longer spawn the AP scan list on failure unless the caller was interactive. TL;DR: beforeWifiAction is now much less obnoxious when you're obviously not able to connect. |
||
---|---|---|
.. | ||
device.lua | ||
event_map.lua | ||
powerd.lua |