Loading src/com/android/bluetooth/a2dp/A2dpStateMachine.java +0 −2 Original line number Original line Diff line number Diff line Loading @@ -55,7 +55,6 @@ import android.os.Looper; import android.os.Message; import android.os.Message; import android.util.Log; import android.util.Log; import com.android.bluetooth.BluetoothStatsLog; import com.android.bluetooth.btservice.ProfileService; import com.android.bluetooth.btservice.ProfileService; import com.android.bluetooth.statemachine.State; import com.android.bluetooth.statemachine.State; import com.android.bluetooth.statemachine.StateMachine; import com.android.bluetooth.statemachine.StateMachine; Loading Loading @@ -688,7 +687,6 @@ final class A2dpStateMachine extends StateMachine { private void broadcastAudioState(int newState, int prevState) { private void broadcastAudioState(int newState, int prevState) { log("A2DP Playing state : device: " + mDevice + " State:" + audioStateToString(prevState) log("A2DP Playing state : device: " + mDevice + " State:" + audioStateToString(prevState) + "->" + audioStateToString(newState)); + "->" + audioStateToString(newState)); BluetoothStatsLog.write(BluetoothStatsLog.BLUETOOTH_A2DP_PLAYBACK_STATE_CHANGED, newState); Intent intent = new Intent(BluetoothA2dp.ACTION_PLAYING_STATE_CHANGED); Intent intent = new Intent(BluetoothA2dp.ACTION_PLAYING_STATE_CHANGED); intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState); intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState); Loading Loading
src/com/android/bluetooth/a2dp/A2dpStateMachine.java +0 −2 Original line number Original line Diff line number Diff line Loading @@ -55,7 +55,6 @@ import android.os.Looper; import android.os.Message; import android.os.Message; import android.util.Log; import android.util.Log; import com.android.bluetooth.BluetoothStatsLog; import com.android.bluetooth.btservice.ProfileService; import com.android.bluetooth.btservice.ProfileService; import com.android.bluetooth.statemachine.State; import com.android.bluetooth.statemachine.State; import com.android.bluetooth.statemachine.StateMachine; import com.android.bluetooth.statemachine.StateMachine; Loading Loading @@ -688,7 +687,6 @@ final class A2dpStateMachine extends StateMachine { private void broadcastAudioState(int newState, int prevState) { private void broadcastAudioState(int newState, int prevState) { log("A2DP Playing state : device: " + mDevice + " State:" + audioStateToString(prevState) log("A2DP Playing state : device: " + mDevice + " State:" + audioStateToString(prevState) + "->" + audioStateToString(newState)); + "->" + audioStateToString(newState)); BluetoothStatsLog.write(BluetoothStatsLog.BLUETOOTH_A2DP_PLAYBACK_STATE_CHANGED, newState); Intent intent = new Intent(BluetoothA2dp.ACTION_PLAYING_STATE_CHANGED); Intent intent = new Intent(BluetoothA2dp.ACTION_PLAYING_STATE_CHANGED); intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mDevice); intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState); intent.putExtra(BluetoothProfile.EXTRA_PREVIOUS_STATE, prevState); Loading