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
Merged-In: I590fa27a9aee202c6524dff56e5e098fb4f6e1ce
Change-Id: I590fa27a9aee202c6524dff56e5e098fb4f6e1ce
(cherry picked from commit 8f16f3e21d7c75bf9ae9605f233d09397a29d4e6)
1 file changed