Change subId to int from long

Change-Id: Idae6335e63e7b1e4e714bc17e71b1a4705e38474
This commit is contained in:
Wink Saville
2014-10-23 10:16:26 -07:00
parent 745046c157
commit b003a85941
2 changed files with 14 additions and 14 deletions

View File

@@ -241,7 +241,7 @@ public class SimSettings extends RestrictedSettingsFragment implements Indexable
* finds a record with subId.
* Since the number of SIMs are few, an array is fine.
*/
private SubInfoRecord findRecordBySubId(final long subId) {
private SubInfoRecord findRecordBySubId(final int subId) {
final int availableSubInfoLength = mAvailableSubInfos.size();
for (int i = 0; i < availableSubInfoLength; ++i) {