diff options
author | Rakesh Pallerla <rakesh@codeaurora.org> | 2014-01-10 17:53:15 +0530 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2015-10-06 03:20:16 -0600 |
commit | b31c3240ab910775fe1ffc5c50058cbb8ca7444f (patch) | |
tree | 440e9e3104487253744e4c4599cf17053b745e19 | |
parent | ea02418cbc8582c7896781e63d2fc7e824710cab (diff) | |
download | android_hardware_ril-b31c3240ab910775fe1ffc5c50058cbb8ca7444f.tar.gz android_hardware_ril-b31c3240ab910775fe1ffc5c50058cbb8ca7444f.tar.bz2 android_hardware_ril-b31c3240ab910775fe1ffc5c50058cbb8ca7444f.zip |
Use SimRefreshResponse struct in RIL Versions greater than 7.
Modify condition to use SimRefreshResponse struct in
all RIL Versions greater than 7.
CRs-Fixed: 597007
Change-Id: I40fb4ad96e191ae6641eb31da014515d08704382
-rwxr-xr-x | libril/ril.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libril/ril.cpp b/libril/ril.cpp index c7df4af..62c51de 100755 --- a/libril/ril.cpp +++ b/libril/ril.cpp @@ -3096,7 +3096,7 @@ static int responseSimRefresh(Parcel &p, void *response, size_t responselen) { } startResponse; - if (s_callbacks.version == 7) { + if (s_callbacks.version >= 7) { RIL_SimRefreshResponse_v7 *p_cur = ((RIL_SimRefreshResponse_v7 *) response); p.writeInt32(p_cur->result); p.writeInt32(p_cur->ef_id); |