diff options
author | Vinay Kalia <vinaykalia@google.com> | 2017-07-28 15:09:57 -0700 |
---|---|---|
committer | Andre Eisenbach <eisenbach@google.com> | 2017-07-28 23:39:15 +0000 |
commit | 9722971cb4a79e37165f636f9dd057707d2e620a (patch) | |
tree | f261f4c4373a59d5011e7d9345c63fb8ac77a97c /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 869a72294dbbdf4b56e99059f3f156727dcd0492 (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_test.cpp')
0 files changed, 0 insertions, 0 deletions