Skip to content
Commit 97592f60 authored by Evan Laird's avatar Evan Laird
Browse files

First pass at setting up a mobile connectivity pipeline

This CL is pretty WIP, but contains a rough overall structure for
monitoring mobile subscriptions, and info for each subscription.

Naming is still TBD. The general structure is this:

[Repo]
MobileSubscriptionRepo monitors the list of subscriptions known to the
device via SubscriptionManager, and can vend out a listener for a given
subscription ID that can be individually tracked

UserSetupRepo just tracks the isUserSetup bit

[Domain]
MobileInteractor defines the Interactor for the overall mobile feature,
and can vend out MobileConnectionInteractors which track the individual
subscriptionID from the repo

[UI]
Currently this is the least fleshed out, but there is a similar pair of
MobileConnectivityViewModel and MobileIconViewModel to track the same as
above -- the overall state and the states for each subId.

Test: adb shell settings put global systemui/tag/SbConnectivity verbose
Test: adb logcat | grep SbConnectivity
Test: should output: SbConnectivity: Output: subId(1) level: 1
Bug: 240492102
Change-Id: I22d7e9e5b449057a92071ac00bc823460d5f58a6
parent f12d6c28
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment