diff options
| author | 2023-01-25 16:06:12 +0000 | |
|---|---|---|
| committer | 2023-01-26 17:23:00 +0000 | |
| commit | 633510be083eec92bb801d0a71bf20b4a3bd8fd6 (patch) | |
| tree | 0f897f7c553eb470581f937a6ee4d1de98a39ad6 /libs/androidfw/AttributeResolution.cpp | |
| parent | 41125ee819b912c6ef6fba6f8aee8afcb19b96e0 (diff) | |
[SB Refactor] Fix handling of network transports in wifi repo.
Fixes:
1) Handle CELLULAR transport first, like the old pipeline.
2) Don't assume `NetworkCapabilities.transportInfo` is always of type
`WifiInfo`.
3) Update `isWifiDefault` to match the old pipeline. (If the default
network has the wifi transport, the wifi is default even if the
`transportInfo` is not of type `WifiInfo`.)
Bug: 266628069
Test: atest WifiRepositoryImplTest
Test: manual: verify wifi icon still works
Change-Id: I47ab4eb01ee8a3f893acbf13a9a01bbd9fdee10d
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions