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

Skip to content
Commit 1a7ea7ec authored by Brad Ebinger's avatar Brad Ebinger
Browse files

Correctly apply subId changes in ImsServiceController when SIMs change

In DSDS mode, we were incorrectly calculating which slot to apply subId
changes to when slot 0 had no SIM card and slot 1 moved from having a
SIM card to not having a sim card. In this condition, we would never
clear the sub ID of slot 1, causing a mismatch until re-evaluation of
subscriptions occurred.

This fix corrects this bug by taking into account the condition where
multiple sims have a subId of -1.

Bug: 234562356
Test: atest FrameworksTelephonyTests:ImsServiceControllerTest
Change-Id: I828c4fc59024e84acd5e0be6c4059836aabac6ff
parent 3865c72f
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