Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[mobile] Represent invalid subIds as null

MobileConnectionsRepository.defaultDataSubId was allowing
INVALID_SUBSCRIPTION_ID to be propagated downstream, which is kind of
wrong. The only reason we would represent that value was because reading
the int from the broadcast intent wants to have a default value.

This change turns INVALID_SUBSCRIPTION_ID to null downstream, and adds
the necessary changes to support it elsewhere.

Test: StatusBarOperatorNameViewModelTest
Test: MobileConnectionsRepositoryTest
Test: all tets statusbar/pipeline/mobile
Bug: 388834614
Flag: EXEMPT bugfix
Change-Id: I7898aa304b4f2f6b58a88567ed5d42abd65a36f3
parent d1765c39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment