Connectivity API should expose information whether the WiFi is available
Bug #1337102 reported by
Thomas Voß
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
location-service |
Fix Released
|
High
|
Thomas Voß | ||
location-service (Ubuntu) |
Fix Released
|
Undecided
|
Thomas Voß |
Bug Description
com::ubuntu:
* bool is_in_flight_
* State wifi_state(), returning State::on if wifi is on, and State::off if wifi is off, respectively.
Related branches
lp:~thomas-voss/location-service/add-connectivity-state-to-manager
- PS Jenkins bot: Approve (continuous-integration)
- Heikki Holstila (community): Approve
- Ubuntu Phablet Team: Pending requested
-
Diff: 842 lines (+563/-45)8 files modifiedexamples/standalone/connectivity/connectivity.cpp (+33/-2)
include/location_service/com/ubuntu/location/connectivity/manager.h (+83/-17)
src/location_service/com/ubuntu/location/CMakeLists.txt (+1/-0)
src/location_service/com/ubuntu/location/connectivity/manager.cpp (+71/-0)
src/location_service/com/ubuntu/location/connectivity/nm.h (+180/-2)
src/location_service/com/ubuntu/location/connectivity/ofono_nm_connectivity_manager.cpp (+126/-24)
src/location_service/com/ubuntu/location/connectivity/ofono_nm_connectivity_manager.h (+35/-0)
tests/mock_connectivity_manager.h (+34/-0)
Changed in location-service (Ubuntu): | |
assignee: | nobody → Thomas Voß (thomas-voss) |
Changed in location-service: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Slightly adjusted the semantics of the API. The overall connectivity state is maintained, together with characteristics for the primary network connection.