summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHemant Gupta <hemantg@codeaurora.org>2014-05-01 17:02:40 +0530
committerLinux Build Service Account <lnxbuild@localhost>2015-10-06 03:25:37 -0600
commiteed02cb40d6b7910846fa04be8d14ff6eec33fd9 (patch)
treee4262bd0f74d6f6335348369d5419cb110934e27 /lib
parent172b4fe02b226c403320f213dc8ef9ca16574f27 (diff)
downloadandroid_packages_apps_Bluetooth-eed02cb40d6b7910846fa04be8d14ff6eec33fd9.tar.gz
android_packages_apps_Bluetooth-eed02cb40d6b7910846fa04be8d14ff6eec33fd9.tar.bz2
android_packages_apps_Bluetooth-eed02cb40d6b7910846fa04be8d14ff6eec33fd9.zip
Bluetooth: Fix resource leak in OPP (3/3)
- This patch handles closing of input stream if no device is selected by user when trying to send file via BT. Without this patch, input stream was never closed resulting in leak with each iteration and system crash after 1024 iterations. - This change will remove hashmap share entry if user selected share via BT and press back or press cancel. Otherwise, hashmap will reach its limit for successive share via BT and cause BT app to crash. CRs-Fixed: 662147, 678607 Change-Id: I92aa0d8e81977fde0446f565f1de95e2d91e1e9c
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions