diff options
| author | markchien <markchien@google.com> | 2021-12-03 11:38:38 +0800 |
|---|---|---|
| committer | markchien <markchien@google.com> | 2021-12-16 12:12:07 +0800 |
| commit | 1e020903cc3e611c94dd013f0e4d74c6226bc6e3 (patch) | |
| tree | d02d29e3f0c05a34a2ac235598cd318636293ed5 /tests/common/java/android/net/NetworkCapabilitiesTest.java | |
| 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
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions
