diff options
author | Vinay Kalia <vinaykalia@google.com> | 2017-07-28 15:09:57 -0700 |
---|---|---|
committer | Vinay Kalia <vinaykalia@google.com> | 2017-07-28 15:30:25 -0700 |
commit | 5d5c8e8ae13b1f0b9ae40382d0634defdd765468 (patch) | |
tree | 56d4c9e57384b5e5c89579d9ba47c4731ac884cc /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 68a0dafc135a28cf6bbc72e44798083075aac872 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions