Clean up public API of SubInfoRecord.
bug: 17575308 Change-Id: I38afd507b1c004fd566214c0b3812cab226936df
This commit is contained in:
@@ -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];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user