summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Evan Laird <evanlaird@google.com> 2022-10-24 16:42:15 -0400
committer Evan Laird <evanlaird@google.com> 2022-11-01 11:30:59 -0400
commitbe25e8f1f407df340636259f6d22496638e8b507 (patch)
tree3788e12bac1410241a010557746848537207b748 /libs/androidfw/ResourceTimer.cpp
parent4046d6b3c6e0443f9b02338ae319450085219c8a (diff)
[SB refactor] Track the default subscription and its connection status
This CL adds the ability for `MobileIconsInteractor` to track which `MobileConnectionRepository` represents the active data subscription connection, and tracks its disabled status. In the case of DSDS, for instance, data will not be enabled on the stanby SIM, but we will only want to show the disconnected state (the exclamation mark on the triangle) when the active mobile data subscription has data turned off. Also, added `ContentObserver`s for the `MOBILE_DATA` setting, which is used to trigger telephony polling events. This mimics behavior from the old `MobileSignalController` and help us to update the icon once the data enabled state changes. Test: atest MobileConnectionsRepositoryTest MobileConnectionRepositoryTest MobileIconsInteractorTest MobileIconInteractorTest MobileIconViewModelTest Bug: 240492102 Change-Id: I6f614d615930dca1d0c69ef361ecc05ce394dbfc
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions