summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Evan Laird <evanlaird@google.com> 2024-05-16 13:29:19 -0400
committer Evan Laird <evanlaird@google.com> 2024-05-20 20:21:57 +0000
commit7fe757fdd1b457051a0d53c22ad286b82cf4cad3 (patch)
treee845524af9efe46b955ab1ac4a1e4fb4548dcc3d /api/api.go
parent7a701d62f08186882e688c5cd8c07979433e3ea1 (diff)
[Sb][Mobile] Listen for service states via broadcast for subId = -1
We already have tracking for service state for any valid subscription, via the individual `MobileConnectionRepository` classes. However, there are cases when there is a device-based state (in this case, emergency calls only) that can be surfaced to SystemUI via the ACTION_SERVICE_STATE intent. In these cases, the subscription id from the intent is -1, and can be interpreted on our end as device state. This change adds tracking specifically for the `ServiceState` for the subId=-1 case, and exposes the emergency calls only state to the MobileIconsInteractor. Follow-up CLs will use this bit to better calculate the calling state of the device for the sake of showing satellite iconography. Flag: EXEMPT bugfix Bug: 339023069 Test: MobileConnectionsRepositoryTest Test: MobileIconsInteractorTest Change-Id: I7cc0aee2d6f579d2027ea1f0ffdc64486126664d Merged-In: I7cc0aee2d6f579d2027ea1f0ffdc64486126664d
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions