summaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2012-08-31 09:12:13 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-31 09:12:13 -0700
commit50b1206d5ab38003c0d63b7e6a3589bf00c6ceb5 (patch)
tree28fcc3e80870339b88c86d028e6b21dc529a3d48 /src/java
parent15e83e031027a1b161c4ee4f046e3cc1bdf0f92b (diff)
parentcc0e54506132e42f5e0ca2cfee0c399ba49ba149 (diff)
downloadframeworks_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-xsrc/java/com/android/internal/telephony/WspTypeDecoder.java6
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;