Look up MMS APN using the active MMS APN name

Get the active MMS APN name from ConnectivityManager and use
that when retrieving the APN details (e.g. MMSC address).
The query will then return the APN that matches both the SIM
MCC/MNC and the active APN name.
If no match is found then fallback to a query based on MCC/MNC
only.
This fixes an issue where host network MMS APN details could be
used for MVNOs, or vice versa, preventing MMS from being sent or
received.
Bug: 17884903/18519308

Change-Id: I09e32d327e22ad31612a90e09c4aedfaf63870cc
2 files changed
tree: de3ac4780460c8d361e616e94cd1c4abe9a19be3
  1. Android.mk
  2. AndroidManifest.xml
  3. proguard.flags
  4. res/
  5. src/