1. Fix crash when we get a disconnect and audio transfer at the same time.

03-22 15:22:12.905 I/Bluetooth HeadsetBase( 1184): headset read error 5
03-22 15:22:12.905 I/bluetooth_ScoSocket.cpp( 1184): Connecting to socket
03-22 15:22:12.944 I/bluetooth_ScoSocket.cpp( 1184): SCO socket connected (outgoing)
03-22 15:22:13.030 D/BT HSHFP( 1184): Headset state 2 -> 0, result = 0
03-22 15:22:13.030 D/ScoSocket( 1184): android.bluetooth.ScoSocket@44c60868 SCO OBJECT close() mState = 4
03-22 15:22:13.054 D/ScoSocket( 1184): android.bluetooth.ScoSocket@44c60868 SCO OBJECT close() mState = 5
03-22 15:22:13.085 D/AndroidRuntime( 1184): Shutting down VM
03-22 15:22:13.085 W/dalvikvm( 1184): threadid=3: thread exiting with uncaught exception (group=0x4001b180)
03-22 15:22:13.093 E/AndroidRuntime( 1184): Uncaught handler: thread main exiting due to uncaught exception
03-22 15:22:13.132 E/AndroidRuntime( 1184): java.lang.NullPointerException
03-22 15:22:13.132 E/AndroidRuntime( 1184):     at com.android.phone.BluetoothHandsfree$1.handleMessage
                                                (BluetoothHandsfree.java:978)

2. Also close incoming listening SCO socket only when BT is switched off.
   Call audioOff when SCO is closed so that we don't leak sockets.
   The outgoing socket gets set to NULL when the SCO connect gets connected.

Change-Id: Ibf9cb4d5b3bdc77cad9fd7e610daee908d7a9b9c
Merge "1. Fix crash when we get a disconnect and audio transfer at the same time."
am 819fc69a: 1. Fix crash when we get a disconnect and audio transfer at the same time.
am 2656a97a: Merge "Import revised translations" into froyo
removed automatic popping up of vm number edit dlg upon display of vm settings screen
Bug: 2547770

Change-Id: I97c6a3fe8814759da9cb1351cc59d7a5dd618845
Merge commit '4725b906878a6cb400005d39343ec5ee09c8c419' into oxygen_4.3

* commit '4725b906878a6cb400005d39343ec5ee09c8c419':
  1. Fix crash when we get a disconnect and audio transfer at the same time.
Merge commit 'fdca0b1e064b3ac0a23744335f1ccc03796f7bb5' into oxygen_4.3

* commit 'fdca0b1e064b3ac0a23744335f1ccc03796f7bb5':
  removed automatic popping up of vm number edit dlg upon display of vm settings screen Bug: 2547770