commit | 7d0fe2d612a7cc522af1ee3837e3b96d27b58a33 | [log] [tgz] |
---|---|---|
author | Jakub Pawlowski <jpawlowski@google.com> | Mon Aug 28 03:25:51 2017 -0700 |
committer | Jakub Pawlowski <jpawlowski@google.com> | Mon Aug 28 11:00:54 2017 -0700 |
tree | 06088a6a3ffb078be3f66c089b83cdba8a5a7cd1 | |
parent | 14e18cdd57fff45a34b83b70ea2162212a58f296 [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: I96e7698a126b41c4fd5e2ce11d1c9084fd560dfc