summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhron Train <atrain@atrain.ca>2012-02-03 15:19:56 -0500
committerrmcc@arcee-kang1 <cyanogenmod@cerqueira.org>2012-04-14 14:40:51 +0100
commit0521546b7df7186d21b0a43571171ae3c30b634f (patch)
tree686bd4922a3bf6e9fcbe6ac3a26d63458d44a274
parent09ee8dd28c6be3d4398f42dfe72d390e29580552 (diff)
downloadframeworks_base-0521546b7df7186d21b0a43571171ae3c30b634f.zip
frameworks_base-0521546b7df7186d21b0a43571171ae3c30b634f.tar.gz
frameworks_base-0521546b7df7186d21b0a43571171ae3c30b634f.tar.bz2
Fixed Proprietary info feild skipping in Samuel Berube's voicemail notification patch (#11318)
Change-Id: I783b438449a63134ba0f6ae332dd7dc3ddbd5c81
-rw-r--r--telephony/java/com/android/internal/telephony/IccFileHandler.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/telephony/java/com/android/internal/telephony/IccFileHandler.java b/telephony/java/com/android/internal/telephony/IccFileHandler.java
index 40d6983..03bb371 100644
--- a/telephony/java/com/android/internal/telephony/IccFileHandler.java
+++ b/telephony/java/com/android/internal/telephony/IccFileHandler.java
@@ -336,9 +336,10 @@ public abstract class IccFileHandler extends Handler implements IccConstants {
curByte += curSectionLen;
// Proprietary info '0xA5' (optional)
- curTag = ((int)data[curByte++]) & 0xFF;
+ curTag = ((int)data[curByte]) & 0xFF;
if (curTag == 0xA5) {
// Not needed, just skip it...
+ curByte++;
curSectionLen = data[curByte++];
curByte += curSectionLen;
}