Don't show progress spinner when sharing debugging info, it's confusing.

This commit is contained in:
akwizgran
2014-03-07 12:18:39 +00:00
parent b5429f121a
commit c72e30617d

View File

@@ -351,8 +351,6 @@ public class TestingActivity extends BriarActivity implements OnClickListener {
}
private void share() {
scroll.setVisibility(GONE);
progress.setVisibility(VISIBLE);
new AsyncTask<Void, Void, Map<String, String>>() {
protected Map<String, String> doInBackground(Void... args) {
@@ -373,8 +371,6 @@ public class TestingActivity extends BriarActivity implements OnClickListener {
}
p.flush();
p.close();
scroll.setVisibility(VISIBLE);
progress.setVisibility(GONE);
sendEmail(Uri.fromFile(temp));
} catch(IOException e) {
if(LOG.isLoggable(WARNING))