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

[Sb refactor] Ensure we fetch default data subId on flow start

The old pipeline aggressively polls SubscriptionManager for the
`defaultDataSubId`. We don't want to do that since it's going to cause
IPC on the main thread, and it's not necessary.

This change enforces that we poll
SubscriptionManager.getDefaultDataSubscrpitionId() when the flow is
started, so that we always know the current value when collectors show
up. Further updates are still expected to come in through the broadcast.

Test: MobileConnectionsRepositoryTest
Bug: 270315194

Change-Id: I74aa6b9b456ca497b02de48d4c932a2b4814c97a
parent db1dbe4d
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