Skip to content

Commit

Permalink
Fix RIL_CardStatus_v5 Parceling.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
MWisBest authored and raymanfx committed Oct 24, 2016
1 parent 70ecc09 commit 5a2cc4e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ril/libril/ril.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5a2cc4e

Please sign in to comment.