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 (adnCache != null) { adnCache.updateAdnBySearch(efid, oldAdn, newAdn, pin2, response); waitForResult(status); } else { loge("Failure while trying to update by search due to uninitialised adncache"); } } return success; } Loading Loading @@ -226,8 +230,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 (adnCache != null) { adnCache.updateAdnByIndex(efid, newAdn, index, pin2, response); waitForResult(status); } else { loge("Failure while trying to update by index due to uninitialised adncache"); } } return success; } Loading Loading @@ -268,8 +276,12 @@ public abstract class IccPhoneBookInterfaceManager extends IIccPhoneBook.Stub { checkThread(); AtomicBoolean status = new AtomicBoolean(false); Message response = mBaseHandler.obtainMessage(EVENT_LOAD_DONE, status); if (adnCache != null) { adnCache.requestLoadAllAdnLike(efid, adnCache.extensionEfForEf(efid), response); waitForResult(status); } else { loge("Failure while trying to load from SIM due to uninitialised adncache"); } } return records; } 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 (adnCache != null) { adnCache.updateAdnBySearch(efid, oldAdn, newAdn, pin2, response); waitForResult(status); } else { loge("Failure while trying to update by search due to uninitialised adncache"); } } return success; } Loading Loading @@ -226,8 +230,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 (adnCache != null) { adnCache.updateAdnByIndex(efid, newAdn, index, pin2, response); waitForResult(status); } else { loge("Failure while trying to update by index due to uninitialised adncache"); } } return success; } Loading Loading @@ -268,8 +276,12 @@ public abstract class IccPhoneBookInterfaceManager extends IIccPhoneBook.Stub { checkThread(); AtomicBoolean status = new AtomicBoolean(false); Message response = mBaseHandler.obtainMessage(EVENT_LOAD_DONE, status); if (adnCache != null) { adnCache.requestLoadAllAdnLike(efid, adnCache.extensionEfForEf(efid), response); waitForResult(status); } else { loge("Failure while trying to load from SIM due to uninitialised adncache"); } } return records; } Loading