[Sb refactor] Fix active subId in group event flow

This flow was malformed and would never actually emit based on the
original defintion. Added some tests too to make sure it works

Test: MobileConnectionsRepositoryTest
Bug: 238425913
Change-Id: I7522bf7d34d86632f0b863b73c8f11eaeb620430
2 files changed