Support multi SIM config change in CarrierConfigLoader
Internally, CCL saves states for each phone. But it doesn't
handle the multi-SIM config change for now. This may cause
either resource leak or even system crash.
This CL handles the config change in both ways to make sure
internal state arrays always have the correct length as the active
modem count and no resource leak or system crash after switch.
Bug: 185129900
Test: atest CarrierConfigLoaderTest
Test: manual SS <-> DS switches test to make sure no break
Change-Id: I590fa27a9aee202c6524dff56e5e098fb4f6e1ce
1 file changed