Clean up public API of SubInfoRecord.

bug: 17575308
Change-Id: I38afd507b1c004fd566214c0b3812cab226936df
This commit is contained in:
Stuart Scott
2014-10-31 14:11:24 -07:00
parent ba53a846b1
commit 3ada2ecbe0
4 changed files with 45 additions and 40 deletions

View File

@@ -110,7 +110,7 @@ public class ImeiInformation extends PreferenceActivity {
final Phone[] phones = PhoneFactory.getPhones();
for (int i = 0; i < phones.length; i++) {
// Currently we only operate with the first subscription of a SIM.
if (phones[i].getSubId() == subInfos.get(0).subId) {
if (phones[i].getSubId() == subInfos.get(0).getSubscriptionId()) {
return phones[i];
}
}