Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ebecf92 authored by cretin45's avatar cretin45
Browse files

CMFileManager: Don't add bad search results to the list

Issue-id: FEIJ-341

Change-Id: I6a418aa099569484fd6f95f2b8d0987b59eba2a9
parent e56b31d8
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -864,7 +864,9 @@ public class SearchActivity extends Activity
            }
            if (success) {
                // add to adapter
                if (mResult.getRelevance() > 1) {
                    activity.mAdapter.addNewItem(mHolder);
                }
                int progress = activity.mAdapter.resultsSize();
                activity.toggleResults(progress > 0, false);
                String foundItems = activity.getResources().getQuantityString(