Removed deprecated members

Removed MessageList.EXTRA_SEARCH_OLD (and its reference in a search)
This commit is contained in:
Joshua Nelson 2017-11-03 19:44:05 -04:00 committed by cketti
parent bfc2dcba35
commit 7591319e7e

View file

@ -72,10 +72,6 @@ public class MessageList extends K9Activity implements MessageListFragmentListen
MessageViewFragmentListener, OnBackStackChangedListener, OnSwipeGestureListener, MessageViewFragmentListener, OnBackStackChangedListener, OnSwipeGestureListener,
OnSwitchCompleteListener { OnSwitchCompleteListener {
@Deprecated
//TODO: Remove after 2017-09-11
private static final String EXTRA_SEARCH_OLD = "search";
private static final String EXTRA_SEARCH = "search_bytes"; private static final String EXTRA_SEARCH = "search_bytes";
private static final String EXTRA_NO_THREADING = "no_threading"; private static final String EXTRA_NO_THREADING = "no_threading";
@ -434,9 +430,6 @@ public class MessageList extends K9Activity implements MessageListFragmentListen
mSearch.addAccountUuid(LocalSearch.ALL_ACCOUNTS); mSearch.addAccountUuid(LocalSearch.ALL_ACCOUNTS);
} }
} }
} else if (intent.hasExtra(EXTRA_SEARCH_OLD)) {
mSearch = intent.getParcelableExtra(EXTRA_SEARCH_OLD);
mNoThreading = intent.getBooleanExtra(EXTRA_NO_THREADING, false);
} else { } else {
// regular LocalSearch object was passed // regular LocalSearch object was passed
mSearch = intent.hasExtra(EXTRA_SEARCH) ? mSearch = intent.hasExtra(EXTRA_SEARCH) ?