Change-Id: Ia07d99d58785c7e974b1fb32afaeb157ad337932
private int sendFile(BluetoothOppSendFileInfo fileInfo) {
boolean error = false;
int responseCode = -1;
+ int position = 0;
int status = BluetoothShare.STATUS_SUCCESS;
Uri contentUri = Uri.parse(BluetoothShare.CONTENT_URI + "/" + mInfo.mId);
ContentValues updateValues;
}
if (!error) {
- int position = 0;
int readLength = 0;
boolean okToProceed = false;
long timestamp = 0;
* Called when connection is accepted from remote, to retrieve the first
* Header then wait for user confirmation
*/
- public void preStart(Handler handler) {
+ public void preStart() {
try {
if (D) Log.d(TAG, "Create ServerSession with transport " + mTransport.toString());
mSession = new ServerSession(mTransport, this, null);