- Declare the service callback as static class and use WeakReference to avoid the callback link being occupied
- Use application context instead of fragment context to avoid context being occupied by external modules
Bug: 237273138
Test: manual test
make RunSettingsRoboTests ROBOTEST_FILTER=TetherSettingsTest
make RunSettingsRoboTests ROBOTEST_FILTER=WifiTetherPreferenceControllerTest
Change-Id: Icca145b8ef08b9949feafbbd4e761f8d50c99181
Moving executor to be the first argument in registerSoftApCallback.
Bug: 144379300
Test: Manually on pixel 3
Change-Id: I5563c1059cc04014a0fd909e2508f7bf497d708e
Updating classes to support making SoftApCallback methods available to @SystemAPI including
the API for registration of a SoftApCallback which includes a change to
now use executor vs handler.
Bug: 143564153
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiTetherPreferenceControllerTest
Also tested manually on a Hawk.
Change-Id: I952ad10dd88b7d97b3cd86b269b8f67b00b1fa15
Adding support for visibility into clients that connect to an active hotspot.
Bug: 137309578
Test: Tested manually on a Hawk
Change-Id: Ife4bb5ca7bbcf075683cb0a233f2b5716ccd51d9
Create unit test because robolectric doesn't have the new API
Bug: 68058038
Test: SettingsUnitTest
Change-Id: I9fa27d51c4d270b2fb92db7dfc3955e33d4a3f4a