Merge lp:~tiagosh/telepathy-ofono/fix-imei into lp:telepathy-ofono

Proposed by Tiago Salem Herrmann
Status: Merged
Approved by: Gustavo Pichorim Boiko
Approved revision: 104
Merged at revision: 104
Proposed branch: lp:~tiagosh/telepathy-ofono/fix-imei
Merge into: lp:telepathy-ofono
Diff against target: 56 lines (+18/-17)
2 files modified
connection.cpp (+1/-0)
ussdiface.h (+17/-17)
To merge this branch: bzr merge lp:~tiagosh/telepathy-ofono/fix-imei
Reviewer Review Type Date Requested Status
Gustavo Pichorim Boiko (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+234191@code.launchpad.net

Commit message

Set modem serial when it changes

Description of the change

Set modem serial when it changes

--Checklist--
Are there any related MPs required for this MP to build/function as expected? Please list.
No

Is your branch in sync with latest trunk (e.g. bzr pull lp:trunk -> no changes)
Yes

Did you perform an exploratory manual test run of your code change and any related functionality on device or emulator?
Yes

Did you successfully run all tests found in your component's Test Plan (https://wiki.ubuntu.com/Process/Merges/TestPlan/telepathy-ofono) on device or emulator?
Yes

If you changed the UI, was the change specified/approved by design?
N/A

If you changed UI labels, did you update the pot file?
N/A

If you changed the packaging (debian), did you add a core-dev as a reviewer to this MP?
N/A

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Gustavo Pichorim Boiko (boiko) wrote :

Did you perform an exploratory manual test run of the code change and any related functionality on device or emulator?
Yes

Did CI run pass? If not, please explain why.
Yes

Have you checked that submitter has accurately filled out the submitter checklist and has taken no shortcut?
Yes

Code looks good and works as expected!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'connection.cpp'
2--- connection.cpp 2014-08-25 23:26:11 +0000
3+++ connection.cpp 2014-09-10 19:33:44 +0000
4@@ -202,6 +202,7 @@
5 plugInterface(Tp::AbstractConnectionInterfacePtr::dynamicCast(contactsIface));
6
7 QObject::connect(mOfonoModem, SIGNAL(onlineChanged(bool)), SLOT(updateOnlineStatus()));
8+ QObject::connect(mOfonoModem, SIGNAL(serialChanged(QString)), supplementaryServicesIface.data(), SLOT(setSerial(QString)));
9 QObject::connect(mOfonoModem, SIGNAL(interfacesChanged(QStringList)), SLOT(updateOnlineStatus()));
10 QObject::connect(mOfonoMessageManager, SIGNAL(incomingMessage(QString,QVariantMap)), this, SLOT(onOfonoIncomingMessage(QString,QVariantMap)));
11 QObject::connect(mOfonoMessageManager, SIGNAL(immediateMessage(QString,QVariantMap)), this, SLOT(onOfonoImmediateMessage(QString,QVariantMap)));
12
13=== modified file 'ussdiface.h'
14--- ussdiface.h 2014-04-02 21:51:42 +0000
15+++ ussdiface.h 2014-09-10 19:33:44 +0000
16@@ -61,24 +61,24 @@
17
18 QString state() const;
19 QString serial() const;
20+
21+public Q_SLOTS:
22+ void NotificationReceived(const QString &message);
23+ void RequestReceived(const QString &message);
24+
25+ void InitiateUSSDComplete(const QString &ussdResp);
26+ void RespondComplete(bool success, const QString &ussdResp);
27+ void BarringComplete(const QString &ssOp, const QString &cbService, const QVariantMap &cbMap);
28+ void ForwardingComplete(const QString &ssOp, const QString &cfService, const QVariantMap &cfMap);
29+ void WaitingComplete(const QString &ssOp, const QVariantMap &cwMap);
30+ void CallingLinePresentationComplete(const QString &ssOp, const QString &status);
31+ void ConnectedLinePresentationComplete(const QString &ssOp, const QString &status);
32+ void CallingLineRestrictionComplete(const QString &ssOp, const QString &status);
33+ void ConnectedLineRestrictionComplete(const QString &ssOp, const QString &status);
34+ void InitiateFailed();
35+ void StateChanged(const QString &state);
36+
37 void setSerial(const QString& serial) const;
38-
39-public Q_SLOTS:
40- void NotificationReceived(const QString &message);
41- void RequestReceived(const QString &message);
42-
43- void InitiateUSSDComplete(const QString &ussdResp);
44- void RespondComplete(bool success, const QString &ussdResp);
45- void BarringComplete(const QString &ssOp, const QString &cbService, const QVariantMap &cbMap);
46- void ForwardingComplete(const QString &ssOp, const QString &cfService, const QVariantMap &cfMap);
47- void WaitingComplete(const QString &ssOp, const QVariantMap &cwMap);
48- void CallingLinePresentationComplete(const QString &ssOp, const QString &status);
49- void ConnectedLinePresentationComplete(const QString &ssOp, const QString &status);
50- void CallingLineRestrictionComplete(const QString &ssOp, const QString &status);
51- void ConnectedLineRestrictionComplete(const QString &ssOp, const QString &status);
52- void InitiateFailed();
53- void StateChanged(const QString &state);
54-
55 protected:
56 BaseConnectionUSSDInterface();
57

Subscribers

People subscribed via source and target branches