mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-15 14:05:05 -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:
parent
e26e0973d5
commit
0933fad9b3
@ -589,6 +589,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
|
|||||||
public void onClick(DialogInterface dialog, int whichButton)
|
public void onClick(DialogInterface dialog, int whichButton)
|
||||||
{
|
{
|
||||||
dismissDialog(DIALOG_REMOVE_ACCOUNT);
|
dismissDialog(DIALOG_REMOVE_ACCOUNT);
|
||||||
|
removeDialog(DIALOG_REMOVE_ACCOUNT);
|
||||||
|
|
||||||
if (mSelectedContextAccount instanceof Account)
|
if (mSelectedContextAccount instanceof Account)
|
||||||
{
|
{
|
||||||
@ -613,6 +614,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
|
|||||||
public void onClick(DialogInterface dialog, int whichButton)
|
public void onClick(DialogInterface dialog, int whichButton)
|
||||||
{
|
{
|
||||||
dismissDialog(DIALOG_REMOVE_ACCOUNT);
|
dismissDialog(DIALOG_REMOVE_ACCOUNT);
|
||||||
|
removeDialog(DIALOG_REMOVE_ACCOUNT);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.create();
|
.create();
|
||||||
@ -628,6 +630,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
|
|||||||
public void onClick(DialogInterface dialog, int whichButton)
|
public void onClick(DialogInterface dialog, int whichButton)
|
||||||
{
|
{
|
||||||
dismissDialog(DIALOG_CLEAR_ACCOUNT);
|
dismissDialog(DIALOG_CLEAR_ACCOUNT);
|
||||||
|
removeDialog(DIALOG_CLEAR_ACCOUNT);
|
||||||
|
|
||||||
if (mSelectedContextAccount instanceof Account)
|
if (mSelectedContextAccount instanceof Account)
|
||||||
{
|
{
|
||||||
@ -642,6 +645,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
|
|||||||
public void onClick(DialogInterface dialog, int whichButton)
|
public void onClick(DialogInterface dialog, int whichButton)
|
||||||
{
|
{
|
||||||
dismissDialog(DIALOG_CLEAR_ACCOUNT);
|
dismissDialog(DIALOG_CLEAR_ACCOUNT);
|
||||||
|
removeDialog(DIALOG_CLEAR_ACCOUNT);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.create();
|
.create();
|
||||||
@ -657,6 +661,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
|
|||||||
public void onClick(DialogInterface dialog, int whichButton)
|
public void onClick(DialogInterface dialog, int whichButton)
|
||||||
{
|
{
|
||||||
dismissDialog(DIALOG_RECREATE_ACCOUNT);
|
dismissDialog(DIALOG_RECREATE_ACCOUNT);
|
||||||
|
removeDialog(DIALOG_RECREATE_ACCOUNT);
|
||||||
|
|
||||||
if (mSelectedContextAccount instanceof Account)
|
if (mSelectedContextAccount instanceof Account)
|
||||||
{
|
{
|
||||||
@ -671,6 +676,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener, OnC
|
|||||||
public void onClick(DialogInterface dialog, int whichButton)
|
public void onClick(DialogInterface dialog, int whichButton)
|
||||||
{
|
{
|
||||||
dismissDialog(DIALOG_RECREATE_ACCOUNT);
|
dismissDialog(DIALOG_RECREATE_ACCOUNT);
|
||||||
|
removeDialog(DIALOG_RECREATE_ACCOUNT);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.create();
|
.create();
|
||||||
|
Loading…
Reference in New Issue
Block a user