← Back to team overview

ubuntu-phonedations-bugs team mailing list archive

[Bug 1437200] Re: In case there is no type field in APN, we should provision for all types

 

This PR fixes the bug:

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

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

Title:
  In case there is no type field in APN, we should provision for all
  types

Status in ofono package in Ubuntu:
  New

Bug description:
  In case there there is no "type" field for an entry in the Android APN
  DB, we should provision all possible types for that entry. In those
  cases, the type is set to PhoneConstants.APN_TYPE_ALL in the Android
  code. See:

  http://androidxref.com/4.4.2_r1/xref/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/DcTracker.java#844

  http://androidxref.com/4.4.2_r1/xref/frameworks/base/telephony/java/com/android/internal/telephony/PhoneConstants.java#110

  http://androidxref.com/5.1.0_r1/xref/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ApnSetting.java#307

  As PhoneConstants.APN_TYPE_ALL="*", in case we find a type="*" in the
  DB we must treat it also as an entry valid for all types (I have
  actually seen type="*" in a Moto G APN DB).

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


References