diff options
author | Wink Saville <wink@google.com> | 2012-08-31 09:12:13 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2012-08-31 09:12:13 -0700 |
commit | 50b1206d5ab38003c0d63b7e6a3589bf00c6ceb5 (patch) | |
tree | 28fcc3e80870339b88c86d028e6b21dc529a3d48 /src/java | |
parent | 15e83e031027a1b161c4ee4f046e3cc1bdf0f92b (diff) | |
parent | cc0e54506132e42f5e0ca2cfee0c399ba49ba149 (diff) | |
download | frameworks_opt_telephony-50b1206d5ab38003c0d63b7e6a3589bf00c6ceb5.zip frameworks_opt_telephony-50b1206d5ab38003c0d63b7e6a3589bf00c6ceb5.tar.gz frameworks_opt_telephony-50b1206d5ab38003c0d63b7e6a3589bf00c6ceb5.tar.bz2 |
am cc0e5450: Merge "WspTypeDecoder: fixed decoding of content parameters"
* commit 'cc0e54506132e42f5e0ca2cfee0c399ba49ba149':
WspTypeDecoder: fixed decoding of content parameters
Diffstat (limited to 'src/java')
-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; |