diff options
author | Wink Saville <wink@google.com> | 2012-08-31 09:16:31 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-08-31 09:16:31 -0700 |
commit | 7f7d82aac56022880f613772ed4a90738075c843 (patch) | |
tree | 31d75f1bedfdadb38e5625fa1911f590e7334f2b /src | |
parent | cbbf6deee30d702e398939f4bb464f5e821f5e6c (diff) | |
parent | 50b1206d5ab38003c0d63b7e6a3589bf00c6ceb5 (diff) | |
download | frameworks_opt_telephony-7f7d82aac56022880f613772ed4a90738075c843.zip frameworks_opt_telephony-7f7d82aac56022880f613772ed4a90738075c843.tar.gz frameworks_opt_telephony-7f7d82aac56022880f613772ed4a90738075c843.tar.bz2 |
am 50b1206d: am cc0e5450: Merge "WspTypeDecoder: fixed decoding of content parameters"
* commit '50b1206d5ab38003c0d63b7e6a3589bf00c6ceb5':
WspTypeDecoder: fixed decoding of content parameters
Diffstat (limited to 'src')
-rwxr-xr-x | src/java/com/android/internal/telephony/WspTypeDecoder.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/java/com/android/internal/telephony/WspTypeDecoder.java b/src/java/com/android/internal/telephony/WspTypeDecoder.java index 73260fb..a19546a 100755 --- a/src/java/com/android/internal/telephony/WspTypeDecoder.java +++ b/src/java/com/android/internal/telephony/WspTypeDecoder.java @@ -506,11 +506,7 @@ public class WspTypeDecoder { } else if (decodeIntegerValue(startIndex + totalRead)) { totalRead += dataLength; int intValue = (int) unsigned32bit; - if (intValue == 0) { - value = ""; - } else { - value = String.valueOf(intValue); - } + value = String.valueOf(intValue); } else { decodeTokenText(startIndex + totalRead); totalRead += dataLength; |