Close progress windows when canceling "more 50" messages

This commit is contained in:
Mathieu Maret 2011-10-30 02:02:34 +02:00
parent 4bd0390444
commit 05837b1990

View File

@ -81,7 +81,7 @@ public class MultiSmsSender extends Activity {
break;
case DIALOG_FINISHED:{
dismissDialog(SENDING_DIALOG_KEY);
//dismissDialog(SENDING_DIALOG_KEY);
int total = msg.getData().getInt("total");
new AlertDialog.Builder(MultiSmsSender.this).setPositiveButton(
getResources().getString(R.string.ok),
@ -366,7 +366,7 @@ public class MultiSmsSender extends Activity {
msg.setData(b);
handler.sendMessage(msg);
}
displayDialog(handler, DIALOG_PROGRESS_CANCEL,null);
} else {