diff options
-rw-r--r-- | src/java/com/android/internal/telephony/QualcommSharedRIL.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/java/com/android/internal/telephony/QualcommSharedRIL.java b/src/java/com/android/internal/telephony/QualcommSharedRIL.java index 16a912b..db22133 100644 --- a/src/java/com/android/internal/telephony/QualcommSharedRIL.java +++ b/src/java/com/android/internal/telephony/QualcommSharedRIL.java @@ -179,10 +179,12 @@ public class QualcommSharedRIL extends RIL implements CommandsInterface { ca.pin1_replaced = p.readInt(); ca.pin1 = ca.PinStateFromRILInt(p.readInt()); ca.pin2 = ca.PinStateFromRILInt(p.readInt()); - p.readInt(); //remaining_count_pin1 - p.readInt(); //remaining_count_puk1 - p.readInt(); //remaining_count_pin2 - p.readInt(); //remaining_count_puk2 + if (!needsOldRilFeature("skippinpukcount")) { + p.readInt(); //remaining_count_pin1 + p.readInt(); //remaining_count_puk1 + p.readInt(); //remaining_count_pin2 + p.readInt(); //remaining_count_puk2 + } status.mApplications[i] = ca; } int appIndex = -1; |