Merge commit '43a00c7cc708de1c62fdd4062cb10835d6f90855' into HEAD

* commit '43a00c7cc708de1c62fdd4062cb10835d6f90855':
  Rename getCdmaNeedsProvisioning to needsOtaServiceProvisioning.
Merge (-sours) commit 'b5da2a4dff244e55f47bd4f52dfe44c40eda078c' into HEAD

* commit 'b5da2a4dff244e55f47bd4f52dfe44c40eda078c':
  Disconnect active call for AT+CHUP command from bluetooth
Added support for Changing Phone network mode
Todo: Add permission control

Added permission control for the 2G/3G switch

Accept switching to NT_MODE_WCDMA_ONLY network mode

Change-Id: I33f612f523a6a9d41aef65c12148aaec98e5afcc
Phone: Double check mode before changing

A modem might report world phone mode when it really is only GSM or
CDMA capable, making the system switch to an invalid mode which
will later break the telephony code.
This simple check enforces the world phone overlay which is already
in place and will only consider it a correct value in that case.

Change-Id: Iedbc529497b2779f3a12ff56ca1b028cc9434227
Remove user tag
Fix merge with 546a00dd3bb35abfcd44c696cd810073a084b43c

    Change most uses of PhoneFactory to use PhoneApp.getPhone.

    The only entities using PhoneFactory are PhoneApp, NetworkQuerySerivce,
    BluetoothHeadsetSerive and EmergencyCallbackModeService.

    Change-Id: Idb961f2ccfabc1ac1ae90496bb23cfdd9d0febcc