diff options
| author | 2022-12-28 18:21:53 +0000 | |
|---|---|---|
| committer | 2023-01-11 18:35:53 +0000 | |
| commit | a7790accf394ca0a3bf7247615e465083725dcdc (patch) | |
| tree | 328c51d6bf56982cae7fb6cdcceb5eaf754a232f /api/api.go | |
| parent | 52388f923068d6391cda0b8f3d3a7aef73c60582 (diff) | |
[SB Refactor] Display carrier merged wifi networks as mobile.
This CL:
1) Makes WifiRepository an input to MobileConnectionsRepository so that
the mobile repo will know when there's a carrier merged connection.
2) Creates CarrierMergedConnectionRepository, which fills in the correct
mobile values based on the carried merged wifi connection.
3) Creates FullMobileConnectionRepository, which switches between a
typical mobile repo and a carrier merged repo based on the wifi
network status.
Bug: 238425913
Bug: 264684296
Test: `adb shell am broadcast -a com.android.systemui.demo -e command
network -e wifi carriermerged -e level 2` -> displays a mobile triangle
with level 2 and "W+" as its RAT type (note: this will only work if the
next CL is also patched in)
Test: See additional test steps in second bug
Test: atest CarrierMergedConnectionRepositoryTest
Test: atest MobileConnectionsRepositoryTest
Test: atest FullMobileConnectionRepositoryTest
Test: all tests in statusbar.pipeline
Change-Id: I649b91984bf249d783e3117b30820289d78d82af
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions