Bug 704225 - Don't dismiss an undisplayed dialog [r=mfinkle]

This commit is contained in:
Kartikaya Gupta 2011-11-21 18:16:22 -05:00
parent ce1d19dc0a
commit 78ba8c0530

View File

@ -121,7 +121,9 @@ public class CrashReporter extends Activity
@Override
public void finish() {
mProgressDialog.dismiss();
if (mProgressDialog.isShowing()) {
mProgressDialog.dismiss();
}
super.finish();
}