summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAusten Dicken <cvpcsm@gmail.com>2012-07-17 14:39:55 -0500
committerAusten Dicken <cvpcsm@gmail.com>2012-07-17 14:47:45 -0500
commit90c9446057f07d0b8065a4a44ed0bc6e1861fe2c (patch)
treec8eb67d3f01d71577cb1f40c1d6bb180f055703a
parentff0840d90453295ebf3c08d32b01f9bec37ec239 (diff)
downloadframeworks_base-90c9446057f07d0b8065a4a44ed0bc6e1861fe2c.zip
frameworks_base-90c9446057f07d0b8065a4a44ed0bc6e1861fe2c.tar.gz
frameworks_base-90c9446057f07d0b8065a4a44ed0bc6e1861fe2c.tar.bz2
Telephony: Add reading of perso_unblock_retries to QC CDMA RIL
VZW Icc applications require this. Otherwise when reading multiple SIM entries a failure occurs on the second failure since the package readings are offset. Change-Id: Id0fbe1c1490ea4508d517841bb65b01ffc8a9ba4
-rw-r--r--telephony/java/com/android/internal/telephony/SamsungCDMAQualcommRIL.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/telephony/java/com/android/internal/telephony/SamsungCDMAQualcommRIL.java b/telephony/java/com/android/internal/telephony/SamsungCDMAQualcommRIL.java
index 6a5487f..7d827d5 100644
--- a/telephony/java/com/android/internal/telephony/SamsungCDMAQualcommRIL.java
+++ b/telephony/java/com/android/internal/telephony/SamsungCDMAQualcommRIL.java
@@ -90,10 +90,11 @@ public class SamsungCDMAQualcommRIL extends QualcommSharedRIL implements Command
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
+ p.readInt(); //remaining_count_pin1 - pin1_num_retries
+ p.readInt(); //remaining_count_puk1 - puk1_num_retries
+ p.readInt(); //remaining_count_pin2 - pin2_num_retries
+ p.readInt(); //remaining_count_puk2 - puk2_num_retries
+ p.readInt(); // - perso_unblock_retries
status.addApplication(ca);
}
int appIndex = -1;