Close progress windows when canceling "more 50" messages
This commit is contained in:
parent
4bd0390444
commit
05837b1990
@ -81,7 +81,7 @@ public class MultiSmsSender extends Activity {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case DIALOG_FINISHED:{
|
case DIALOG_FINISHED:{
|
||||||
dismissDialog(SENDING_DIALOG_KEY);
|
//dismissDialog(SENDING_DIALOG_KEY);
|
||||||
int total = msg.getData().getInt("total");
|
int total = msg.getData().getInt("total");
|
||||||
new AlertDialog.Builder(MultiSmsSender.this).setPositiveButton(
|
new AlertDialog.Builder(MultiSmsSender.this).setPositiveButton(
|
||||||
getResources().getString(R.string.ok),
|
getResources().getString(R.string.ok),
|
||||||
@ -366,7 +366,7 @@ public class MultiSmsSender extends Activity {
|
|||||||
msg.setData(b);
|
msg.setData(b);
|
||||||
handler.sendMessage(msg);
|
handler.sendMessage(msg);
|
||||||
}
|
}
|
||||||
|
displayDialog(handler, DIALOG_PROGRESS_CANCEL,null);
|
||||||
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user