commit | 1e020903cc3e611c94dd013f0e4d74c6226bc6e3 | [log] [tgz] |
---|---|---|
author | markchien <markchien@google.com> | Fri Dec 03 11:38:38 2021 +0800 |
committer | markchien <markchien@google.com> | Thu Dec 16 12:12:07 2021 +0800 |
tree | d02d29e3f0c05a34a2ac235598cd318636293ed5 | |
parent | 0db30163983d1e7790aeae9b03b98c98623ab86f [diff] |
Reuse BluetoothPan object and use it under tethering handler thread 1. Instead of create BluetoothPan every time when tethering need to use it, store it with mBluetoothPan and resue it. 2. Call BluetoothPan function under tethering handler thread. Bug: 190438212 Test: atest TetheringTests Change-Id: I40adece59960ec44a02dc438d6bd95483a0788af