Fix incorrect mapping to get subscriptioninfo
getActiveSubscriptionInfoList() returns a list of active subscription. It doesn't 1:1 mapping with slotId. So it is not correct to use slotId as index to get subscriptioninfo from list. Use framework interface getActiveSubscriptionInfoForSimSlotIndex() to get subscriptioninfo per slotid instead. Bug: 131123246 Test: Test with dual SIM device and atest SimStatusDialogControllerTest pass Change-Id: If7140f602571a5cb8dcdfff939bd84ccff0b482f
Loading
Please register or sign in to comment