Public bug reported: 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). ** Affects: ofono (Ubuntu) Importance: Undecided Status: New ** Description changed: 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 - As PhoneConstants.APN_TYPE_ALL="*", in case we find a type="*" filed 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). + 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). ** Description changed: 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). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1437200 Title: In case there is no type field in APN, we should provision for all types To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1437200/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs