History log of /packages/apps/Settings/src/com/android/settings/search/InstalledAppResultLoader.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5035f8c5590a8eea7bf372a325a4aa0ee1e96149 03-Aug-2017 Fan Zhang <zhfan@google.com> Move a11y indexing from DynamicContentMonitor to loader

This is necessary to kill DynamicContentMonitor later

- Removed all logic related to indexing accesiblitysetting from the
monitor class and AccessibilitySetting page itself
- Created a loader to search against A11yServices at runtime

I noticed adding a loader in SearchResultsAdapter is rather manual. It's
something we should consider refactor in the future.

Bug: 64310452
Test: robotests
Change-Id: Iff31aff65ce000991229433f294e2ec69af99da2
/packages/apps/Settings/src/com/android/settings/search/InstalledAppResultLoader.java
fbcf4e6e14d090aaced06d3f8708d6e9df1962ba 27-Jun-2017 Fan Zhang <zhfan@google.com> Trim search query when initializing installed app searcher.

Change-Id: I502185d4b497b2edac32e4a8368be76d13b68259
Fix: 62885439
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/search/InstalledAppResultLoader.java
9f3f5f4fed23eac98cf7441c025fd6100e020ed2 12-Jun-2017 Tony Mak <tonymak@google.com> Fix searching work app in settings

Test: m -j RunSettingsRoboTests
Test: Observe search result with badged icon and showing work app info
when tapping on it.
Test: personal app search result is still working
Test: Non app search result is working

Fix: 62366873
Merged-in: I333372699b263d02cc4083289dc746c7aacd414d


Change-Id: I333372699b263d02cc4083289dc746c7aacd414d
(cherry picked from commit 3bef8ce30a43d068aafd4756dc2db7eb9f869781)
/packages/apps/Settings/src/com/android/settings/search/InstalledAppResultLoader.java
0d8e1f23cbec501eab0f6fc8a287c60aad3c750e 07-Jun-2017 Fan Zhang <zhfan@google.com> Include home app when searching installed apps

Change-Id: I4677307bb23f03ed7fb224c32312be7cb114763d
Fix: 62221174
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/search/InstalledAppResultLoader.java
683ccdf97bd8b3ed30b7014f2df17227cff92561 25-May-2017 Soroosh Mariooryad <soroosh@google.com> Move static search ranking from DatabaseResultLoader to Search Adapter.

This will avoid unnecessary static ranking if smart ranking is used.

Since loader does not need to provided sorted collection of results,
the loading data type has changed from List<> to Set<>. This will also
faster lookup in the Adapter.

Fixes: 38447799
Test: make RunSettingsRoboTests

Change-Id: I448b29bd4e8700c8ec4b5766cbeab4b3087ae39a
/packages/apps/Settings/src/com/android/settings/search/InstalledAppResultLoader.java
6efea1e624bb4b48290000cfdb82df224a31b81d 13-May-2017 Matthew Fritze <mfritze@google.com> Update Settings search result unique ids

- SearchResult stableIds are now DocIds from the database
- DocIds are data reference key's hash, when the key is not
empty or null
- Otherwise, DocIds are a hashcode from a set of fields.

Change-Id: Id36f7bf4ceaaa3a2bd326ecafbfe97fd0b247df2
Fixes: 37327194
Test: make RunSettingsRoboTest
/packages/apps/Settings/src/com/android/settings/search/InstalledAppResultLoader.java
2078bc2358031ef3a191900d9036daf4251911c1 22-May-2017 Matthew Fritze <mfritze@google.com> Remove search2 package and put everything into search

Change-Id: Ie8651c79ef023f154cd7120a88a20f3481abce2b
Fixes: 38502743
Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/search/InstalledAppResultLoader.java