From 0933fad9b39bb3cb27d8a53cfd3ab5a5c6c34ae2 Mon Sep 17 00:00:00 2001 From: Marcus Wolschon Date: Mon, 18 Oct 2010 09:53:22 +0000 Subject: [PATCH] Update issue 7031 http://code.google.com/p/android/issues/detail?id=7031 added removeDialog() for every dismissDialog() --- src/com/fsck/k9/activity/Accounts.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/com/fsck/k9/activity/Accounts.java b/src/com/fsck/k9/activity/Accounts.java index 36d6bbefc..b3578ef07 100644 --- a/src/com/fsck/k9/activity/Accounts.java +++ b/src/com/fsck/k9/activity/Accounts.java @@ -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();