1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-15 05:55:06 -05:00

Update issue 7031

http://code.google.com/p/android/issues/detail?id=7031
added removeDialog() for every dismissDialog()
This commit is contained in:
Marcus Wolschon 2010-10-18 09:53:22 +00:00
parent e26e0973d5
commit 0933fad9b3

View File

@ -589,6 +589,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
public void onClick(DialogInterface dialog, int whichButton)
{
dismissDialog(DIALOG_REMOVE_ACCOUNT);
removeDialog(DIALOG_REMOVE_ACCOUNT);
if (mSelectedContextAccount instanceof Account)
{
@ -613,6 +614,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
public void onClick(DialogInterface dialog, int whichButton)
{
dismissDialog(DIALOG_REMOVE_ACCOUNT);
removeDialog(DIALOG_REMOVE_ACCOUNT);
}
})
.create();
@ -628,6 +630,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
public void onClick(DialogInterface dialog, int whichButton)
{
dismissDialog(DIALOG_CLEAR_ACCOUNT);
removeDialog(DIALOG_CLEAR_ACCOUNT);
if (mSelectedContextAccount instanceof Account)
{
@ -642,6 +645,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
public void onClick(DialogInterface dialog, int whichButton)
{
dismissDialog(DIALOG_CLEAR_ACCOUNT);
removeDialog(DIALOG_CLEAR_ACCOUNT);
}
})
.create();
@ -657,6 +661,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
public void onClick(DialogInterface dialog, int whichButton)
{
dismissDialog(DIALOG_RECREATE_ACCOUNT);
removeDialog(DIALOG_RECREATE_ACCOUNT);
if (mSelectedContextAccount instanceof Account)
{
@ -671,6 +676,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
public void onClick(DialogInterface dialog, int whichButton)
{
dismissDialog(DIALOG_RECREATE_ACCOUNT);
removeDialog(DIALOG_RECREATE_ACCOUNT);
}
})
.create();