Skip to content

Instantly share code, notes, and snippets.

@satmandu
Created September 11, 2013 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save satmandu/6525581 to your computer and use it in GitHub Desktop.
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
--- 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