summaryrefslogtreecommitdiffstats
path: root/src/com/android/bluetooth/opp/BluetoothOppTransfer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/bluetooth/opp/BluetoothOppTransfer.java')
-rw-r--r--src/com/android/bluetooth/opp/BluetoothOppTransfer.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/bluetooth/opp/BluetoothOppTransfer.java b/src/com/android/bluetooth/opp/BluetoothOppTransfer.java
index 7c43bf2c2..973c22624 100644
--- a/src/com/android/bluetooth/opp/BluetoothOppTransfer.java
+++ b/src/com/android/bluetooth/opp/BluetoothOppTransfer.java
@@ -56,7 +56,8 @@ import java.net.UnknownHostException;
import java.util.UUID;
/**
- * This class run an actual Opp transfer session (from connect target device to disconnect)
+ * This class run an actual Opp transfer session (from connect target device to
+ * disconnect)
*/
public class BluetoothOppTransfer implements BluetoothOppBatchListener {
private static final String TAG = "BtOpp Transfer";
@@ -473,8 +474,7 @@ public class BluetoothOppTransfer implements BluetoothOppBatchListener {
+ mTransport.toString());
}
- mSession = (BluetoothOppObexSession)new BluetoothOppObexClientSession(mContext,
- mTransport);
+ mSession = new BluetoothOppObexClientSession(mContext, mTransport);
} else if (mBatch.mDirection == BluetoothShare.DIRECTION_INBOUND) {
/*
* For inbounds transfer, a server session should already exists