Merge lp:~jonas-drange/ubuntu-system-settings/tech-switch into lp:ubuntu-system-settings
| Status: | Merged |
|---|---|
| Approved by: | Ken VanDine on 2015-02-17 |
| Approved revision: | 1269 |
| Merged at revision: | 1313 |
| Proposed branch: | lp:~jonas-drange/ubuntu-system-settings/tech-switch |
| Merge into: | lp:ubuntu-system-settings |
| Prerequisite: | lp:~jonas-drange/ubuntu-system-settings/libqofono-0.70-ready |
| Diff against target: |
582 lines (+305/-43) 11 files modified
debian/control (+1/-1) plugins/cellular/CMakeLists.txt (+2/-0) plugins/cellular/Components/DataMultiSim.qml (+10/-2) plugins/cellular/Components/MultiSim.qml (+47/-23) plugins/cellular/Components/RadioSingleSim.qml (+44/-12) plugins/cellular/Components/Sim.qml (+26/-3) plugins/cellular/Components/SingleSim.qml (+4/-0) plugins/cellular/PageComponent.qml (+76/-2) plugins/cellular/connectivity.cpp (+49/-0) plugins/cellular/connectivity.h (+35/-0) plugins/cellular/plugin.cpp (+11/-0) |
| To merge this branch: | bzr merge lp:~jonas-drange/ubuntu-system-settings/tech-switch |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ken VanDine | 2015-01-14 | Approve on 2015-02-17 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2015-02-09 | |
| Olivier Tilloy (community) | code | Needs Fixing on 2015-01-21 | |
|
Review via email:
|
|||
Commit Message
[cellular] allow user to change 3g modem
Description of the Change
* Added connectivity C++ binding used for SIM unlock
* Added a sleepy opacity transition for when modems go away/come back.
* Changed invalidation of the ConnectionManager libqofono binding to invalidate MtkSettings libqofono binding. Most libqofono bindings will not require invalidating anymore, except for the Mtk Settings libqofono binding. See [1].
[1] https:/
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1260
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1262
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1262
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Ken VanDine (ken-vandine) wrote : | # |
Tested this on krillin, it works. There is a brief time after the UI returns and it shows data is off, after 10 seconds or so it comes back on. That might be confusing, any ideas how to handle that case?
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1262
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1263. By Jonas G. Drange on 2015-01-16
-
wait even though there's multiple modems present
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1263
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1264. By Jonas G. Drange on 2015-01-20
-
cache what modem was online before the tech switch
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1264
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1264
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1265. By Jonas G. Drange on 2015-01-20
-
moving repeated functions to sims.js
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1265
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Olivier Tilloy (osomon) wrote : | # |
Note: I haven’t tested the functionality (I’ll leave that to someone who understands the problem and its context). This is only a code review (from someone who doesn’t know the code base at all).
469 + #define UNLOCKALL_
Why is this one a #define and not a const QString like the others?
486 + if (reply.type() == 3) {
"3" should be QDBusMessage:
552 +++ plugins/
It doesn’t look like the strings extraction is run on JS files, so if I run `make pot` the strings in that file get excluded from the translation template.
Also, I don’t know what’s the policy for updating the POT file in the source tree, but it looks quite outdated at the moment, you might want to consider updating it (not necessarily as part of this MR though).
545 + qmlRegisterType
If the Connectivity type is only meant to have static invokable methods, then you probably want to register it as a singleton, using qmlRegisterSing
- 1266. By Jonas G. Drange on 2015-01-21
-
move sim related functionality into the SIM qml for now, let connectivity be a singleton
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1266
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 1267. By Jonas G. Drange on 2015-01-30
-
merge trunk
- 1268. By Jonas G. Drange on 2015-01-30
-
detach event handler after the sim comes back
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1268
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1268
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1268
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Ken VanDine (ken-vandine) wrote : | # |
I tried testing this on krillin and had some problems. Understandably I can't really switch to 3g because in the US the best I can get is edge. In my testing it ultimate would change the tech pref, but it would take several minutes for the connection to come back. It looked as if it had worked, but had no connection and the indicator didn't show the connection. Watching it with monitor-ofono I could see stuff happening, but it would take several minutes to connect.
| Jonas G. Drange (jonas-drange) wrote : | # |
@ken, could you attach the monitor ouput to bug 1379850? Thanks
| Jonas G. Drange (jonas-drange) wrote : | # |
@ken, this might be a long shot, but did you at any point hot swap and not reboot? I've seen something similar to what you describe after a hot swap.
- 1269. By Jonas G. Drange on 2015-02-09
-
fix dep
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1269
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://


FAILED: Continuous integration, rev:1257 /code.launchpad .net/~jonas- drange/ ubuntu- system- settings/ tech-switch/ +merge/ 246503/ +edit-commit- message
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https:/
http:// jenkins. qa.ubuntu. com/job/ ubuntu- system- settings- ci/1901/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 808/console jenkins. qa.ubuntu. com/job/ ubuntu- system- settings- vivid-i386- ci/171 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- vivid-mako/ 704/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 806 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 806/artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 17090
Executed test runs:
FAILURE: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- system- settings- ci/1901/ rebuild
http://