Do not consider SIM state for inactive SIM/modem slot.

ActiveModemCount could be smaller than max SIM slot in single SIM mode
mode. In this case, do not consider mSimErrorState for inactive slots.

Bug: 142514392
Test: manual and unittest
Change-Id: Ieff64f7c2e7bf4db7d603d3824dc6fea71e3f6cd
Merged-In: Ieff64f7c2e7bf4db7d603d3824dc6fea71e3f6cd
2 files changed