Loading android/app/src/com/android/bluetooth/opp/BluetoothOppTransfer.java +14 −15 Original line number Diff line number Diff line Loading @@ -160,6 +160,7 @@ public class BluetoothOppTransfer implements BluetoothOppBatch.BluetoothOppBatch intent.getParcelableExtra(BluetoothDevice.EXTRA_SDP_RECORD); if (record == null) { Log.w(TAG, " Invalid SDP , ignoring !!"); markConnectionFailed(null); return; } mConnectThread = Loading Loading @@ -827,6 +828,7 @@ public class BluetoothOppTransfer implements BluetoothOppBatch.BluetoothOppBatch return; } } }; private void markConnectionFailed(BluetoothSocket s) { if (V) { Loading @@ -844,9 +846,6 @@ public class BluetoothOppTransfer implements BluetoothOppBatch.BluetoothOppBatch mSessionHandler.obtainMessage(TRANSPORT_ERROR).sendToTarget(); return; } } ; /* update a trivial field of a share to notify Provider the batch status change */ private void tickShareStatus(BluetoothOppShareInfo share) { Loading Loading
android/app/src/com/android/bluetooth/opp/BluetoothOppTransfer.java +14 −15 Original line number Diff line number Diff line Loading @@ -160,6 +160,7 @@ public class BluetoothOppTransfer implements BluetoothOppBatch.BluetoothOppBatch intent.getParcelableExtra(BluetoothDevice.EXTRA_SDP_RECORD); if (record == null) { Log.w(TAG, " Invalid SDP , ignoring !!"); markConnectionFailed(null); return; } mConnectThread = Loading Loading @@ -827,6 +828,7 @@ public class BluetoothOppTransfer implements BluetoothOppBatch.BluetoothOppBatch return; } } }; private void markConnectionFailed(BluetoothSocket s) { if (V) { Loading @@ -844,9 +846,6 @@ public class BluetoothOppTransfer implements BluetoothOppBatch.BluetoothOppBatch mSessionHandler.obtainMessage(TRANSPORT_ERROR).sendToTarget(); return; } } ; /* update a trivial field of a share to notify Provider the batch status change */ private void tickShareStatus(BluetoothOppShareInfo share) { Loading