diff options
author | Pradeep Panigrahi <pradeepp@codeaurora.org> | 2014-02-27 16:35:31 +0530 |
---|---|---|
committer | Scott Mertz <smertz@cyngn.com> | 2014-07-24 14:10:20 -0700 |
commit | e5fd7133a82c1bd935ed62b874073cd135f98e75 (patch) | |
tree | 9dc58d93afa4ff5bca96dcecd9d3a734adf51a6d | |
parent | 05c3b13b5ed9f0d129d5a11b429776e550427aff (diff) | |
download | android_packages_apps_Bluetooth-e5fd7133a82c1bd935ed62b874073cd135f98e75.tar.gz android_packages_apps_Bluetooth-e5fd7133a82c1bd935ed62b874073cd135f98e75.tar.bz2 android_packages_apps_Bluetooth-e5fd7133a82c1bd935ed62b874073cd135f98e75.zip |
Bluetooth: MAP: Close output stream before closing client session
Body field is not added on the put request if we close the client
session before output stream. Hence add change to close output stream
before client session.
CRs-fixed: 623805
Change-Id: I73bbf06ca9bcceb465e196f58d8d4dda19005861
-rw-r--r-- | src/com/android/bluetooth/map/BluetoothMnsObexClient.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/com/android/bluetooth/map/BluetoothMnsObexClient.java b/src/com/android/bluetooth/map/BluetoothMnsObexClient.java index 1014347e3..ff7440fc9 100644 --- a/src/com/android/bluetooth/map/BluetoothMnsObexClient.java +++ b/src/com/android/bluetooth/map/BluetoothMnsObexClient.java @@ -392,10 +392,6 @@ public class BluetoothMnsObexClient { if (bytesWritten == eventBytes.length) { Log.i(TAG, "SendEvent finished send length" + eventBytes.length); - if (putOperation != null) { - if (V) Log.v(TAG, "Closing putOperation"); - putOperation.close(); - } if (outputStream != null) { if (V) Log.v(TAG, "Closing outputStream"); outputStream.close(); |