This change was merged into our git master.  The pull request can be
seen here:

https://github.com/rilmodem/ofono/pull/101


** Changed in: ofono (Ubuntu)
       Status: In Progress => Fix Committed

** Summary changed:

- Support /custom/apns-conf.xml
+ Support /custom/etc/apns-conf.xml

** Description changed:

  In order to support Carrier customization of apns-conf.xml, ofono should
- search for /custom/apns-conf.xml first, and if it exists, use it to
+ search for /custom/etc/apns-conf.xml first, and if it exists, use it to
  override APNs found in the default apns-conf.xml.
  
- Note, this would only allow us to replace an existing APN in apns-
- conf.xml.  If we need the ability to disable APNs without replacing
- them, additional logic would be required.
+ First the /custom file ( /custom/etc/apns-conf.xml ) is queried.  If any
+ mvno apns exist in the results list, all non-mvno apns are removed from
+ the results.  Next, the /system file ( /system/etc/apns-conf.xml ) is
+ queried, and the same mvno logic applied to the results.
+ 
+ Finally the two lists are merged. If an apn is found in /custom which
+ matches the type and 'apn' attributes of a /system apn, then the custom
+ one is used.
+ 
+ Note, this would only allow us to add new APNs and/or replace existing
+ APNs in apns-conf.xml.  If we need the ability to disable APNs without
+ replacing them, additional logic would be required.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1315509

Title:
  Support /custom/etc/apns-conf.xml

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1315509/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to