* commit '3901402600daa5ef9fbcae7b4b9400ee8ca1a317': Only decode EXT1 tag when it is available.
This commit is contained in:
@@ -305,8 +305,15 @@ public class UsimPhoneBookManager extends Handler implements IccConstants {
|
|||||||
fileIds = mPbrFile.mFileIds.get(recNum);
|
fileIds = mPbrFile.mFileIds.get(recNum);
|
||||||
if (fileIds == null || fileIds.isEmpty()) return;
|
if (fileIds == null || fileIds.isEmpty()) return;
|
||||||
|
|
||||||
|
|
||||||
|
int extEf = 0;
|
||||||
|
// Only call fileIds.get while EFEXT1_TAG is available
|
||||||
|
if (fileIds.containsKey(USIM_EFEXT1_TAG)) {
|
||||||
|
extEf = fileIds.get(USIM_EFEXT1_TAG);
|
||||||
|
}
|
||||||
|
|
||||||
mAdnCache.requestLoadAllAdnLike(fileIds.get(USIM_EFADN_TAG),
|
mAdnCache.requestLoadAllAdnLike(fileIds.get(USIM_EFADN_TAG),
|
||||||
fileIds.get(USIM_EFEXT1_TAG), obtainMessage(EVENT_USIM_ADN_LOAD_DONE));
|
extEf, obtainMessage(EVENT_USIM_ADN_LOAD_DONE));
|
||||||
try {
|
try {
|
||||||
mLock.wait();
|
mLock.wait();
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user