summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2014-09-30 14:43:04 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2014-09-30 14:43:04 -0700
commita8e4b585719c9bcb96033757c9caac55f5f900de (patch)
tree928b0ebe8caad7570c8372aa163d0cb7821a9b85
parente108eda0ff15e81451f4fe02cbea5d708bc02139 (diff)
parent857501258035c967def86ea1d9303cfda2d03a83 (diff)
downloadandroid_packages_apps_BluetoothExt-a8e4b585719c9bcb96033757c9caac55f5f900de.tar.gz
android_packages_apps_BluetoothExt-a8e4b585719c9bcb96033757c9caac55f5f900de.tar.bz2
android_packages_apps_BluetoothExt-a8e4b585719c9bcb96033757c9caac55f5f900de.zip
Merge "FTP: Avoid ServerSocket leak and cleanup unnecessary code."
-rw-r--r--src/org/codeaurora/bluetooth/ftp/BluetoothFtpService.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/org/codeaurora/bluetooth/ftp/BluetoothFtpService.java b/src/org/codeaurora/bluetooth/ftp/BluetoothFtpService.java
index 9f37533..f6f6545 100644
--- a/src/org/codeaurora/bluetooth/ftp/BluetoothFtpService.java
+++ b/src/org/codeaurora/bluetooth/ftp/BluetoothFtpService.java
@@ -657,8 +657,6 @@ public class BluetoothFtpService extends Service {
stopped = true; // job done ,close this thread;
} catch (IOException ex) {
stopped = true; //IO exception, close the thread
- //Assign socket handle to null.
- mRfcommServerSocket = null;
if (VERBOSE) Log.v(RTAG, "Accept exception: " + ex.toString());
}
}