Loading src/java/com/android/internal/telephony/IccPhoneBookInterfaceManager.java +6 −3 Original line number Diff line number Diff line Loading @@ -190,11 +190,12 @@ public class IccPhoneBookInterfaceManager { if (mAdnCache != null) { mAdnCache.updateAdnBySearch(efid, oldAdn, newAdn, pin2, response); waitForResult(updateRequest); return (boolean) updateRequest.mResult; } else { loge("Failure while trying to update by search due to uninitialised adncache"); return false; } } return (boolean) updateRequest.mResult; } /** Loading Loading @@ -239,11 +240,12 @@ public class IccPhoneBookInterfaceManager { if (mAdnCache != null) { mAdnCache.updateAdnByIndex(efid, newAdn, index, pin2, response); waitForResult(updateRequest); return (boolean) updateRequest.mResult; } else { loge("Failure while trying to update by index due to uninitialised adncache"); return false; } } return (boolean) updateRequest.mResult; } /** Loading Loading @@ -301,11 +303,12 @@ public class IccPhoneBookInterfaceManager { if (mAdnCache != null) { mAdnCache.requestLoadAllAdnLike(efid, mAdnCache.extensionEfForEf(efid), response); waitForResult(loadRequest); return (List<AdnRecord>) loadRequest.mResult; } else { loge("Failure while trying to load from SIM due to uninitialised adncache"); return null; } } return (List<AdnRecord>) loadRequest.mResult; } @UnsupportedAppUsage Loading Loading
src/java/com/android/internal/telephony/IccPhoneBookInterfaceManager.java +6 −3 Original line number Diff line number Diff line Loading @@ -190,11 +190,12 @@ public class IccPhoneBookInterfaceManager { if (mAdnCache != null) { mAdnCache.updateAdnBySearch(efid, oldAdn, newAdn, pin2, response); waitForResult(updateRequest); return (boolean) updateRequest.mResult; } else { loge("Failure while trying to update by search due to uninitialised adncache"); return false; } } return (boolean) updateRequest.mResult; } /** Loading Loading @@ -239,11 +240,12 @@ public class IccPhoneBookInterfaceManager { if (mAdnCache != null) { mAdnCache.updateAdnByIndex(efid, newAdn, index, pin2, response); waitForResult(updateRequest); return (boolean) updateRequest.mResult; } else { loge("Failure while trying to update by index due to uninitialised adncache"); return false; } } return (boolean) updateRequest.mResult; } /** Loading Loading @@ -301,11 +303,12 @@ public class IccPhoneBookInterfaceManager { if (mAdnCache != null) { mAdnCache.requestLoadAllAdnLike(efid, mAdnCache.extensionEfForEf(efid), response); waitForResult(loadRequest); return (List<AdnRecord>) loadRequest.mResult; } else { loge("Failure while trying to load from SIM due to uninitialised adncache"); return null; } } return (List<AdnRecord>) loadRequest.mResult; } @UnsupportedAppUsage Loading