commit | f61db6e9d7eea681a10dd8919a0fbdf52326e66a | [log] [tgz] |
---|---|---|
author | Fan Zhang <zhfan@google.com> | Wed Apr 24 14:56:00 2019 -0700 |
committer | Fan Zhang <zhfan@google.com> | Fri Apr 26 10:07:07 2019 -0700 |
tree | 158fdc9dbc8d0b987f1f8dcf16bf6c39c0246eb5 | |
parent | 8c16ef2906f5a25ab5985d7c42e1d10ef3e3ebe2 [diff] |
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. Fixes: 129038597 Test: robotest Change-Id: If4277c425e6145e0e3ba716551d0dce46cdb61ab