Skip to content

improved, but still rudimentary, hotspot handling in swap

username-removed-24982 requested to merge eighthave/fdroidclient:master into master

My previous merge request !78 (merged) was based on one broken assumption: WIFI_STATE_UNKNOWN means that the hotspot is active. Apparently, that's not always the case. Also, sometimes when the hotspot is active, its WIFI_STATE_DISABLED. Even worse, there is no broadcast message sent on final config of the hotspot. There is only a WIFI_STATE_DISABLING from turning off the wifi, but then never a broadcast for WIFI_STATE_UNKNOWN and/or WIFI_STATE_DISABLED. But I found some tricks that seem to work for now. We'll need to use your library, @mvdan, to really get good support of hotspots.

This also includes some basic UI tweaks to represent the hotspot mode in the swap wifi screen.

Merge request reports