Backout 50cc461ad671 (bug 725380),

This commit is contained in:
Ed Morley 2012-02-08 20:17:00 +00:00
parent 0ccee060e1
commit 5762d3a3d8
2 changed files with 3 additions and 13 deletions

View File

@ -101,13 +101,7 @@ public class CrashReporter extends Activity
@Override
public void finish()
{
try {
if (mProgressDialog.isShowing()) {
mProgressDialog.dismiss();
}
} catch (Exception e) {
Log.e(LOGTAG, "exception while closing progress dialog: ", e);
}
mProgressDialog.dismiss();
super.finish();
}
@ -236,10 +230,8 @@ public class CrashReporter extends Activity
final CheckBox includeURLCheckbox = (CheckBox) findViewById(R.id.include_url);
String spec = extras.get("ServerURL");
if (spec == null) {
if (spec == null)
doFinish();
return;
}
Log.i("GeckoCrashReport", "server url: " + spec);
try {

View File

@ -241,10 +241,8 @@ public class CrashReporter extends Activity
final CheckBox includeURLCheckbox = (CheckBox) findViewById(R.id.include_url);
String spec = extras.get(SERVER_URL_KEY);
if (spec == null) {
if (spec == null)
doFinish();
return;
}
Log.i(LOGTAG, "server url: " + spec);
try {