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: 32897960f71a3009ba26321b4c6d92a1e99034ba
  1. res/
  2. src/
  3. Android.mk
  4. AndroidManifest.xml
  5. proguard.flags