diff options
author | Ahron Train <atrain@atrain.ca> | 2012-02-03 15:19:56 -0500 |
---|---|---|
committer | rmcc@arcee-kang1 <cyanogenmod@cerqueira.org> | 2012-04-14 14:40:51 +0100 |
commit | 0521546b7df7186d21b0a43571171ae3c30b634f (patch) | |
tree | 686bd4922a3bf6e9fcbe6ac3a26d63458d44a274 | |
parent | 09ee8dd28c6be3d4398f42dfe72d390e29580552 (diff) | |
download | frameworks_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.java | 3 |
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; } |