diff options
| author | 2023-03-20 17:49:05 +0000 | |
|---|---|---|
| committer | 2023-03-24 19:11:24 +0000 | |
| commit | 0202e4a3373d81f5742d34cd925749800194421b (patch) | |
| tree | b6e184804ba6ff2f7275607fe2eb686dbdefe0f9 /libs/androidfw/FileStream.cpp | |
| parent | ae05dfe4d4b6a3d8ae0f80e452a11f8203d28716 (diff) | |
[SB Refactor] Define a `defaultConnections` flow in the shared repo.
This CL:
(1) Updates the wifi and mobile repos to use this shared flow instead
of defining their own default network callbacks.
(2) Updates `MobileConnectionsRepoImpl.defaultMobileNetworkConnectivity`
to have `isDefault = true` when mobile **or** carrier merged is the
default connection. This is needed to fix b/272586234: since carrier
merged is displayed as a mobile network, but we only display mobile
network information if mobile is default, we need `isDefault` to be true
even in the carrier merged case.
Bug: 272586234
Test: all tests in statusbar.pipeline
Test: manual: verify wifi icon still works and updates with normal wifi
Test: unfortunately, it's prohibitively difficult to set up a valid
carrier merged connection to test this, so I was not able to manually
test carrier merged. I wrote extensive unit tests instead
Change-Id: I7922b47547c3a4d186e78b76f7fae9cf3460d4d6
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions