commit | f50749040421edfdf22326b1e0f0568e4408fa26 | [log] [tgz] |
---|---|---|
author | Jakub Pawlowski <jpawlowski@google.com> | Mon Aug 28 04:12:49 2017 -0700 |
committer | Andre Eisenbach <eisenbach@google.com> | Tue Aug 29 17:26:23 2017 +0000 |
tree | 13ce0b085cd00e1a0f715a4662a6201a8354d5b3 | |
parent | 02584a23b36f10f14dc1d3d188c0be942cd7e3dd [diff] |
Fix GATT client leakage when scan is throttled (1/2) Currently, scan throttling happens after client is registered, but before the scan is started. This might lead to scan client being leaked. This patch fixed that by moving check before client registration. Bug: 64887233 Test: manual Change-Id: I22ae624a0c51110cb69679f796926e3b2b36d0ac Merged-In: I22ae624a0c51110cb69679f796926e3b2b36d0ac (cherry picked from commit ee02e1ce774777e85b10be6d1ad5c6083fa08c18)