commit | c2fd144218d035f45e7063134f4c644a1dc36535 | [log] [tgz] |
---|---|---|
author | Vinay Kalia <vinaykalia@google.com> | Fri Jul 28 15:09:57 2017 -0700 |
committer | Vinay Kalia <vinaykalia@google.com> | Wed Aug 09 09:03:52 2017 -0700 |
tree | ee46bef55e1d3ff39b9b429484f7715df8d45674 | |
parent | 744976e2985a07f602c02721db8969a638d51c82 [diff] |
Fix BLE scan leaks If an app starts multiple scans with same callback then there is a collision in mLeScanClients hash map which results in leaking first scan. This change fixes it by not allowing the second scan with same callback. BUG: 62389939 BUG: 38198694 Test: Tested applications which started multiple scans with same callback. Change-Id: I569069a40b6f8b4b8bb070731225e732c6b23ec8 (cherry picked from commit 9722971cb4a79e37165f636f9dd057707d2e620a)