diff --git a/k9mail/src/main/java/com/fsck/k9/activity/ChooseFolder.java b/k9mail/src/main/java/com/fsck/k9/activity/ChooseFolder.java index 91430796d..08f25ac6f 100644 --- a/k9mail/src/main/java/com/fsck/k9/activity/ChooseFolder.java +++ b/k9mail/src/main/java/com/fsck/k9/activity/ChooseFolder.java @@ -9,7 +9,6 @@ import java.util.List; import android.content.Intent; import android.os.Bundle; import android.os.Handler; -import android.util.Log; import android.view.Menu; import android.view.MenuItem; import android.view.View; @@ -29,7 +28,7 @@ import com.fsck.k9.R; import com.fsck.k9.controller.MessagingController; import com.fsck.k9.controller.MessagingListener; import com.fsck.k9.mail.Folder; -import com.fsck.k9.mail.MessagingException; + public class ChooseFolder extends K9ListActivity { public static final String EXTRA_ACCOUNT = "com.fsck.k9.ChooseFolder_account"; @@ -266,7 +265,6 @@ public class ChooseFolder extends K9ListActivity { return; } Account.FolderMode aMode = mMode; - Preferences prefs = Preferences.getPreferences(getApplication().getApplicationContext()); List newFolders = new ArrayList(); List topFolders = new ArrayList(); diff --git a/k9mail/src/main/java/com/fsck/k9/activity/FolderList.java b/k9mail/src/main/java/com/fsck/k9/activity/FolderList.java index ee135b532..15f4cc762 100644 --- a/k9mail/src/main/java/com/fsck/k9/activity/FolderList.java +++ b/k9mail/src/main/java/com/fsck/k9/activity/FolderList.java @@ -746,7 +746,6 @@ public class FolderList extends K9ListActivity { List topFolders = new LinkedList(); Account.FolderMode aMode = account.getFolderDisplayMode(); - Preferences prefs = Preferences.getPreferences(getApplication().getApplicationContext()); for (Folder folder : folders) { Folder.FolderClass fMode = folder.getDisplayClass(); diff --git a/k9mail/src/main/java/com/fsck/k9/controller/MessagingController.java b/k9mail/src/main/java/com/fsck/k9/controller/MessagingController.java index fe80a607e..8d0dd8f20 100644 --- a/k9mail/src/main/java/com/fsck/k9/controller/MessagingController.java +++ b/k9mail/src/main/java/com/fsck/k9/controller/MessagingController.java @@ -5267,7 +5267,6 @@ public class MessagingController implements Runnable { if (previousPusher != null) { previousPusher.stop(); } - Preferences prefs = Preferences.getPreferences(context); Account.FolderMode aDisplayMode = account.getFolderDisplayMode(); Account.FolderMode aPushMode = account.getFolderPushMode();