Bug 847856 - Only send logcat data when the user selects the URL checkbox. r=mfinkle

This commit is contained in:
Kartikaya Gupta 2013-03-05 12:59:31 +00:00
parent b902ea7d4f
commit f7cdb2b330

View File

@ -304,7 +304,7 @@ public class CrashReporter extends Activity
}
}
sendPart(os, boundary, "Android_Version", Build.VERSION.SDK_INT + " (" + Build.VERSION.CODENAME + ")");
if (Build.VERSION.SDK_INT >= 16) {
if (Build.VERSION.SDK_INT >= 16 && includeURLCheckbox.isChecked()) {
sendPart(os, boundary, "Android_Logcat", readLogcat());
}