mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-26 01:28:50 -05:00
Eliminate unused code.
This commit is contained in:
parent
fa857f7d09
commit
d01ef4f9cb
@ -35,7 +35,6 @@ import android.widget.Toast;
|
|||||||
|
|
||||||
import com.actionbarsherlock.app.ActionBar;
|
import com.actionbarsherlock.app.ActionBar;
|
||||||
import com.actionbarsherlock.app.ActionBar.OnNavigationListener;
|
import com.actionbarsherlock.app.ActionBar.OnNavigationListener;
|
||||||
import com.actionbarsherlock.view.ActionMode;
|
|
||||||
import com.actionbarsherlock.view.Menu;
|
import com.actionbarsherlock.view.Menu;
|
||||||
import com.actionbarsherlock.view.MenuItem;
|
import com.actionbarsherlock.view.MenuItem;
|
||||||
import com.actionbarsherlock.widget.SearchView;
|
import com.actionbarsherlock.widget.SearchView;
|
||||||
@ -500,11 +499,6 @@ public class FolderList extends K9ListActivity implements OnNavigationListener {
|
|||||||
MessagingController.getInstance(getApplication()).emptyTrash(account, null);
|
MessagingController.getInstance(getApplication()).emptyTrash(account, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onExpunge(final Account account, String folderName) {
|
|
||||||
MessagingController.getInstance(getApplication()).expunge(account, folderName, null);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
private void onClearFolder(Account account, String folderName) {
|
private void onClearFolder(Account account, String folderName) {
|
||||||
// There has to be a cheaper way to get at the localFolder object than this
|
// There has to be a cheaper way to get at the localFolder object than this
|
||||||
LocalFolder localFolder = null;
|
LocalFolder localFolder = null;
|
||||||
@ -672,8 +666,6 @@ public class FolderList extends K9ListActivity implements OnNavigationListener {
|
|||||||
return super.onContextItemSelected(item);
|
return super.onContextItemSelected(item);
|
||||||
}
|
}
|
||||||
|
|
||||||
private FolderInfoHolder mSelectedContextFolder = null;
|
|
||||||
|
|
||||||
@Override public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
|
@Override public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
|
||||||
super.onCreateContextMenu(menu, v, menuInfo);
|
super.onCreateContextMenu(menu, v, menuInfo);
|
||||||
AdapterContextMenuInfo info = (AdapterContextMenuInfo) menuInfo;
|
AdapterContextMenuInfo info = (AdapterContextMenuInfo) menuInfo;
|
||||||
|
Loading…
Reference in New Issue
Block a user