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
Merged-In: I96e7698a126b41c4fd5e2ce11d1c9084fd560dfc
(cherry picked from commit b9167e7c6870a30403493dfc094b5f97b3ef11ca)
1 file changed
tree: b45aac9ec6d256056102651cc358617807d2dd5d
- android/