Merge lp:~unity-api-team/indicator-network/lp1352744 into lp:indicator-network/14.10

Proposed by Antti Kaijanmäki
Status: Merged
Approved by: Pete Woods
Approved revision: 382
Merged at revision: 382
Proposed branch: lp:~unity-api-team/indicator-network/lp1352744
Merge into: lp:indicator-network/14.10
Diff against target: 11 lines (+1/-0)
1 file modified
network/dbus-cpp/services/ofono.h (+1/-0)
To merge this branch: bzr merge lp:~unity-api-team/indicator-network/lp1352744
Reviewer Review Type Date Requested Status
Tony Espy Approve
Pete Woods (community) Approve
Review via email: mp+229665@code.launchpad.net

Commit message

Add missing break to switch-case.

When ofono tells modem supports RadioSettings interface
there is an unintentional falltrough which causes
ofono code to try to create an SimManager instead.

Description of the change

Testers:
Ensure indicator-network is running properly with and without a SIM card inserted to the SIM slot.

To verify the indicator is running properly:
1) pull down the indicator and verify that the indicator contains wifi items and does not flicker
2) open system-settings -> wi-fi and verify that system-settings shows a list of available access points.

silo:
https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-006

To get wifi working using phablet-shell do:
$ nmcli d wifi connect <access point name> password <password> iface wlan0

To post a comment you must log in.
Revision history for this message
Pete Woods (pete-woods) wrote :

LGTM.

review: Approve
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

Looks good to me too. This seems to fix the wifi indicator issues I had on the past few images. I tested on a mako and barajas, and tried the dual sim option too. The only issues I saw were unrelated to the changes made in this silo.

I didn't do full dogfooding or reverse dep tests, since we're not in traincon 0, but regardless this seems like an obvious improvement since it fixes a core device function.

Revision history for this message
Tony Espy (awe) wrote :

LGTM2

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'network/dbus-cpp/services/ofono.h'
2--- network/dbus-cpp/services/ofono.h 2014-04-30 21:31:38 +0000
3+++ network/dbus-cpp/services/ofono.h 2014-08-05 17:04:02 +0000
4@@ -1083,6 +1083,7 @@
5 case Property::Interfaces::Type::Phonebook:
6 case Property::Interfaces::Type::PushNotification:
7 case Property::Interfaces::Type::RadioSettings:
8+ break;
9 case Property::Interfaces::Type::SimManager:
10 {
11 if (!simManager->get()) {

Subscribers

People subscribed via source and target branches