Created
September 11, 2013 15:50
-
-
Save satmandu/6525581 to your computer and use it in GitHub Desktop.
VoicePlus Patch to eliminate multipart text concatenation prior to sending to Google Voice
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- android_packages_apps_VoicePlus/cm-10.2/src/org/cyanogenmod/voiceplus/VoicePlusService.java 2013-09-11 11:44:42.000000000 -0400 | |
+++ android_packages_apps_VoicePlus/cm-10.2/src/org/cyanogenmod/voiceplus/VoicePlusService.java.new 2013-09-11 11:45:50.000000000 -0400 | |
@@ -297,12 +297,6 @@ | |
return; | |
} | |
- // combine the multipart text into one string | |
- StringBuilder textBuilder = new StringBuilder(); | |
- for (String text: texts) { | |
- textBuilder.append(text); | |
- } | |
- String text = textBuilder.toString(); | |
try { | |
// send it off, and note that we recently sent this message |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment