diff options
| author | 2022-10-24 17:09:55 -0400 | |
|---|---|---|
| committer | 2022-10-24 17:20:13 -0400 | |
| commit | 71cddbaf59212dd377dbeb27a86258ddb95a6b43 (patch) | |
| tree | 3fa2a4ab7fefa6e9b6ab282b067694762949d487 /libs/androidfw/StringPool.cpp | |
| parent | e6fd49588f42e0bbd308d5bc599a662b4f2116eb (diff) | |
[Sb refactor] Add `dataEnabled` tracking to mobile repos
This CL adds the `dataEnabled` property to `MobileConnectionRepository`.
`dataEnabled` maps to `TelephonyManager.isDataConnectionAllowed`, and it
is polled whenever telephony sends updates to us.
Also threaded this field down to the view model to use in our logic for
showing / hiding the network type indicator.
Test: atest MobileConnectionRepositoryTest MobileIconsInteractorTest
MobileIconViewModelTest
Bug: 240492102
Change-Id: I5b4cae651dcf50a3dd4abc4d3e803e4386320cbd
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions