mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-05 10:49:24 +02:00
removed unused code
This commit is contained in:
parent
83ce509d84
commit
c54921db1f
1 changed files with 0 additions and 14 deletions
|
@ -103,20 +103,6 @@ public class BookmarksActivity extends TabActivity implements MenuItem.OnMenuIte
|
|||
findViewById(R.id.search_results).setVisibility(View.GONE);
|
||||
}
|
||||
|
||||
public List<Bookmark> runSearch(String pattern) {
|
||||
final FBReaderApp fbreader = (FBReaderApp)FBReaderApp.Instance();
|
||||
fbreader.BookmarkSearchPatternOption.setValue(pattern);
|
||||
|
||||
final LinkedList<Bookmark> bookmarks = new LinkedList<Bookmark>();
|
||||
pattern = pattern.toLowerCase();
|
||||
for (Bookmark bookmark : BookmarksActivity.Instance.AllBooksBookmarks) {
|
||||
if (ZLMiscUtil.matchesIgnoreCase(bookmark.getText(), pattern)) {
|
||||
bookmarks.add(bookmark);
|
||||
}
|
||||
}
|
||||
return bookmarks;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onNewIntent(Intent intent) {
|
||||
if (!Intent.ACTION_SEARCH.equals(intent.getAction())) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue