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

Don't forget to remove some Preference entires when deleting Account

This commit is contained in:
Fiouz 2010-09-19 21:10:56 +00:00
parent e28e6d8817
commit 0990609727

View File

@ -445,15 +445,21 @@ public class Account implements BaseAccount
editor.remove(mUuid + ".expungePolicy"); editor.remove(mUuid + ".expungePolicy");
editor.remove(mUuid + ".syncRemoteDeletions"); editor.remove(mUuid + ".syncRemoteDeletions");
editor.remove(mUuid + ".maxPushFolders"); editor.remove(mUuid + ".maxPushFolders");
editor.remove(mUuid + ".searchableFolders"); editor.remove(mUuid + ".searchableFolders");
editor.remove(mUuid + ".chipColor"); editor.remove(mUuid + ".chipColor");
editor.remove(mUuid + ".led"); editor.remove(mUuid + ".led");
editor.remove(mUuid + ".ledColor"); editor.remove(mUuid + ".ledColor");
editor.remove(mUuid + ".goToUnreadMessageSearch"); editor.remove(mUuid + ".goToUnreadMessageSearch");
editor.remove(mUuid + ".subscribedFoldersOnly"); editor.remove(mUuid + ".subscribedFoldersOnly");
editor.remove(mUuid + ".maximumPolledMessageAge"); editor.remove(mUuid + ".maximumPolledMessageAge");
editor.remove(mUuid + ".maximumAutoDownloadMessageSize"); editor.remove(mUuid + ".maximumAutoDownloadMessageSize");
editor.remove(mUuid + ".quotePrefix"); editor.remove(mUuid + ".quotePrefix");
editor.remove(mUuid + ".showPicturesEnum");
editor.remove(mUuid + ".replyAfterQuote");
editor.remove(mUuid + ".cryptoApp");
editor.remove(mUuid + ".cryptoAutoSignature");
editor.remove(mUuid + ".enableMoveButtons");
editor.remove(mUuid + ".hideMoveButtonsEnum");
for (String type : networkTypes) for (String type : networkTypes)
{ {
editor.remove(mUuid + ".useCompression." + type); editor.remove(mUuid + ".useCompression." + type);