diff options
author | Kyle Repinski <repinski23@gmail.com> | 2016-08-31 01:04:02 -0500 |
---|---|---|
committer | Christopher N. Hesse <raymanfx@gmail.com> | 2016-10-24 01:44:16 -0700 |
commit | 5a2cc4eed5bc12512fb01fba250412d503f9800f (patch) | |
tree | 046c2e645b6a802aa14f275c1b296f7aa1ac0199 | |
parent | 70ecc09feb2fbddeee9f7d67300ef18458f40f0c (diff) | |
download | android_hardware_samsung-5a2cc4eed5bc12512fb01fba250412d503f9800f.tar.gz android_hardware_samsung-5a2cc4eed5bc12512fb01fba250412d503f9800f.tar.bz2 android_hardware_samsung-5a2cc4eed5bc12512fb01fba250412d503f9800f.zip |
Fix RIL_CardStatus_v5 Parceling.
The difference between a v5 and v6 CardStatus response is the addition
of ims_subscription_app_index. In previous releases libril added a -1
to the Parcel in its place for transparent handling of GET_SIM_STATUS
everywhere else regardless of v5 or v6 responses, but it was erroneously
removed in change I4e53c6125995064b8ac0cdfc9376ef2cefe69ec8
Change-Id: I078b61d2f6dc28f738e8eb87f51193fa0bd94c7d
-rwxr-xr-x | ril/libril/ril.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ril/libril/ril.cpp b/ril/libril/ril.cpp index adb91d8..b571ed2 100755 --- a/ril/libril/ril.cpp +++ b/ril/libril/ril.cpp @@ -3992,6 +3992,7 @@ static void responseSimStatusV5(Parcel &p, void *response) { p.writeInt32(p_cur->universal_pin_state); p.writeInt32(p_cur->gsm_umts_subscription_app_index); p.writeInt32(p_cur->cdma_subscription_app_index); + p.writeInt32(-1); sendSimStatusAppInfo(p, p_cur->num_applications, p_cur->applications); } |