Merge commit 'b56ef54ecafce9304d8461a56a5e977ef9ed3e36' into HEAD

* commit 'b56ef54ecafce9304d8461a56a5e977ef9ed3e36':
  Finish mergine placeCall and placeCallVia
  get rid of duplicated code in placeCall() and placeCallVia()

Conflicts:
	src/com/android/phone/CallNotifier.java
	src/com/android/phone/InCallScreen.java
	src/com/android/phone/PhoneUtils.java
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