Use a .txt extension for debugging logs sent to the developers.

This commit is contained in:
akwizgran
2014-03-04 14:01:45 +00:00
parent 58f5b94a2a
commit 8dd9efce3c

View File

@@ -321,7 +321,7 @@ public class TestingActivity extends BriarActivity implements OnClickListener {
protected void onPostExecute(Map<String, String> result) {
try {
File shared = Environment.getExternalStorageDirectory();
temp = File.createTempFile("debug", "txt", shared);
temp = File.createTempFile("debug", ".txt", shared);
if(LOG.isLoggable(INFO))
LOG.info("Writing to " + temp.getPath());
PrintStream p = new PrintStream(new FileOutputStream(temp));