Loading src/java/com/android/internal/telephony/IccPhoneBookInterfaceManager.java +18 −6 Original line number Diff line number Diff line Loading @@ -183,8 +183,12 @@ public abstract class IccPhoneBookInterfaceManager extends IIccPhoneBook.Stub { Message response = mBaseHandler.obtainMessage(EVENT_UPDATE_DONE, status); AdnRecord oldAdn = new AdnRecord(oldTag, oldPhoneNumber); AdnRecord newAdn = new AdnRecord(newTag, newPhoneNumber); if (mAdnCache != null) { mAdnCache.updateAdnBySearch(efid, oldAdn, newAdn, pin2, response); waitForResult(status); } else { loge("Failure while trying to update by search due to uninitialised adncache"); } } return mSuccess; } Loading Loading @@ -227,8 +231,12 @@ public abstract class IccPhoneBookInterfaceManager extends IIccPhoneBook.Stub { AtomicBoolean status = new AtomicBoolean(false); Message response = mBaseHandler.obtainMessage(EVENT_UPDATE_DONE, status); AdnRecord newAdn = new AdnRecord(newTag, newPhoneNumber); if (mAdnCache != null) { mAdnCache.updateAdnByIndex(efid, newAdn, index, pin2, response); waitForResult(status); } else { loge("Failure while trying to update by index due to uninitialised adncache"); } } return mSuccess; } Loading Loading @@ -271,8 +279,12 @@ public abstract class IccPhoneBookInterfaceManager extends IIccPhoneBook.Stub { checkThread(); AtomicBoolean status = new AtomicBoolean(false); Message response = mBaseHandler.obtainMessage(EVENT_LOAD_DONE, status); if (mAdnCache != null) { mAdnCache.requestLoadAllAdnLike(efid, mAdnCache.extensionEfForEf(efid), response); waitForResult(status); } else { loge("Failure while trying to load from SIM due to uninitialised adncache"); } } return mRecords; } Loading Loading
src/java/com/android/internal/telephony/IccPhoneBookInterfaceManager.java +18 −6 Original line number Diff line number Diff line Loading @@ -183,8 +183,12 @@ public abstract class IccPhoneBookInterfaceManager extends IIccPhoneBook.Stub { Message response = mBaseHandler.obtainMessage(EVENT_UPDATE_DONE, status); AdnRecord oldAdn = new AdnRecord(oldTag, oldPhoneNumber); AdnRecord newAdn = new AdnRecord(newTag, newPhoneNumber); if (mAdnCache != null) { mAdnCache.updateAdnBySearch(efid, oldAdn, newAdn, pin2, response); waitForResult(status); } else { loge("Failure while trying to update by search due to uninitialised adncache"); } } return mSuccess; } Loading Loading @@ -227,8 +231,12 @@ public abstract class IccPhoneBookInterfaceManager extends IIccPhoneBook.Stub { AtomicBoolean status = new AtomicBoolean(false); Message response = mBaseHandler.obtainMessage(EVENT_UPDATE_DONE, status); AdnRecord newAdn = new AdnRecord(newTag, newPhoneNumber); if (mAdnCache != null) { mAdnCache.updateAdnByIndex(efid, newAdn, index, pin2, response); waitForResult(status); } else { loge("Failure while trying to update by index due to uninitialised adncache"); } } return mSuccess; } Loading Loading @@ -271,8 +279,12 @@ public abstract class IccPhoneBookInterfaceManager extends IIccPhoneBook.Stub { checkThread(); AtomicBoolean status = new AtomicBoolean(false); Message response = mBaseHandler.obtainMessage(EVENT_LOAD_DONE, status); if (mAdnCache != null) { mAdnCache.requestLoadAllAdnLike(efid, mAdnCache.extensionEfForEf(efid), response); waitForResult(status); } else { loge("Failure while trying to load from SIM due to uninitialised adncache"); } } return mRecords; } Loading