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

Commit 81c7772d authored by tmfang's avatar tmfang Committed by android-build-merger
Browse files

Merge "Fix no apps shown on app info screen" into qt-dev

am: 11e4847d

Change-Id: I736f60c5bd62114ab9a4bdbf5ff7a041a046940f
parents 704789a5 11e4847d
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -1159,10 +1159,16 @@ public class ManageApplications extends InstrumentedFragment
            });
        }

        public void filterSearch(String query) {
        @VisibleForTesting
        void filterSearch(String query) {
            if (mSearchFilter == null) {
                mSearchFilter = new SearchFilter();
            }
            // If we haven't load apps list completely, don't filter anything.
            if(mOriginalEntries == null) {
                Log.w(TAG, "Apps haven't loaded completely yet, so nothing can be filtered");
                return;
            }
            mSearchFilter.filter(query);
        }