Merge lp:~phablet-team/ofono/lp1363413 into lp:~phablet-team/ofono/ubuntu

Proposed by Tony Espy
Status: Merged
Approved by: Tony Espy
Approved revision: 6876
Merged at revision: 6876
Proposed branch: lp:~phablet-team/ofono/lp1363413
Merge into: lp:~phablet-team/ofono/ubuntu
Diff against target: 70 lines (+21/-13)
3 files modified
debian/changelog (+10/-0)
drivers/rilmodem/sim.c (+8/-11)
src/gprs.c (+3/-2)
To merge this branch: bzr merge lp:~phablet-team/ofono/lp1363413
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Ubuntu Phablet Team Pending
Review via email: mp+233434@code.launchpad.net

Commit message

  * src/gprs.c: Fix to allow MMS properties to be set (LP: #1362068)
  * rilmodem/sim.c: Fix EnterPIN logic (LP: #1363413)

Description of the change

This change fixes a regression introduced by the last merge request. This happened as even though the SIM portion of the ofono test plan was updated for the previous landing, not all of the manual SIM test cases were runnning, and thus the entering a SIM PIN broke ( lp: #1363413 ).

This change also includes a minor bug fix to allows MMS-specific DBus properties to be set for GPRS context objects that are of type=Internet or type=MMS. This bug fix is required for the new SystemSettings::Cellular APN Editor. None of the existing software on touch uses this DBus method.

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
Tony Espy (awe) wrote :

Tested silo-018 (utopic) and silo-001 (rtm) on mako (image #26) and krillin (image #17).

Per the ofono test plan, the following testing was done on krillin & mako:

- Basic Tests ( voicecall in/out, sms in/out, working GPRS, ... )
- SIM Tests ( SIM present, SIM !present, SIM removal, ... )

None of the app or indicator autopilot tests were run on either device.

The following regressions were discovered:

[mako] CardIdentifier & PreferredLanguage missing
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1366229

[krillin] When FlightMode disabled ConnectionManager interface isn't restored
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1366231
Critical: this prevents restoration of GPRS after FlightMode is disabled

Furthermore two other bugs were found:

Boot with no SIM and FlightMode enabled, no EmergencyNumbers are available
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1366188

[mako] Only SimManager available when offline & no SIM
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1366186

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

So due to circumstances beyond my control, the rtm silo was published, so in order to keep us in sync, utopic will be published, the code merged, and we'll need to deal with the Critical bug in a subequent landing.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2014-08-20 09:47:55 +0000
3+++ debian/changelog 2014-09-04 22:15:56 +0000
4@@ -1,3 +1,13 @@
5+ofono (1.12.bzr6876+14.10.20140820-0ubuntu1) UNRELEASED; urgency=medium
6+
7+ [ Jussi Kangas ]
8+ * src/gprs.c: Fix to allow MMS properties to be set (LP: #1362068)
9+
10+ [ Tony Espy ]
11+ * rilmodem/sim.c: Fix EnterPIN logic (LP: #1363413)
12+
13+ -- Tony Espy <espy@canonical.com> Thu, 04 Sep 2014 17:33:21 -0400
14+
15 ofono (1.12.bzr6874+14.10.20140820-0ubuntu1) utopic; urgency=medium
16
17 [ Martti Piirainen ]
18
19=== modified file 'drivers/rilmodem/sim.c'
20--- drivers/rilmodem/sim.c 2014-08-19 16:29:51 +0000
21+++ drivers/rilmodem/sim.c 2014-09-04 22:15:56 +0000
22@@ -643,17 +643,6 @@
23 sd->ril_state_watch,
24 sd->modem, NULL))
25 ofono_error("Error registering ril sim watch");
26- } else {
27- /* status request afer entering PIN */
28- /*
29- * TODO: There doesn't seem to be any other
30- * way to force the core SIM code to
31- * recheck the PIN.
32- * Wouldn't __ofono_sim_refresh be
33- * more appropriate call here??
34- * __ofono_sim_refresh(sim, NULL, TRUE, TRUE);
35- */
36- __ofono_sim_recheck_pin(sim);
37 }
38
39 if ((status = g_ril_reply_parse_sim_status(sd->ril, message))
40@@ -679,6 +668,14 @@
41 }
42 }
43
44+ /*
45+ * Note: There doesn't seem to be any other way to
46+ * force the core SIM code to recheck the PIN. This
47+ * call causes the core to call the this atom's
48+ * query_passwd() function.
49+ */
50+ __ofono_sim_recheck_pin(sim);
51+
52 } else if (status && status->card_state == RIL_CARDSTATE_ABSENT) {
53 ofono_info("SIM card absent");
54 ofono_sim_inserted_notify(sim, FALSE);
55
56=== modified file 'src/gprs.c'
57--- src/gprs.c 2014-04-15 23:42:56 +0000
58+++ src/gprs.c 2014-09-04 22:15:56 +0000
59@@ -1231,8 +1231,9 @@
60 return pri_set_name(ctx, conn, msg, str);
61 }
62
63- if (ctx->type != OFONO_GPRS_CONTEXT_TYPE_MMS ||
64- ctx->type != OFONO_GPRS_CONTEXT_TYPE_INTERNET)
65+ if (ctx->type == OFONO_GPRS_CONTEXT_TYPE_ANY ||
66+ ctx->type == OFONO_GPRS_CONTEXT_TYPE_WAP ||
67+ ctx->type == OFONO_GPRS_CONTEXT_TYPE_IMS)
68 return __ofono_error_invalid_args(msg);
69
70 if (!strcmp(property, "MessageProxy")) {

Subscribers

People subscribed via source and target branches

to all changes: