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

Skip to content
Commit 322e94e4 authored by Xin Guan's avatar Xin Guan
Browse files

SearchManager: Lazy build the searchable list.

- Avoid building searchable list during the user unlocking, only rebuild
  the list when apps request if necessary.
- Invalidate the searchable list when packages containing searchables
  get changed.

Bug: 319129155
Test: atest CtsAppTestCases:android.app.cts.SearchManagerTest
      atest FrameworksServicesTests:com.android.server.search.SearchablesTest

Change-Id: I6afec9258f108e5bd9633740aae9ba3c6b7c88f0
parent 9e3b6391
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment