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

Skip to content
Commit 031a0435 authored by Raff Tsai's avatar Raff Tsai
Browse files

Extend SearchIndexableResources to use SearchIndexableData

- We used Class as the input value, then use reflection to get
SearchIndexProvider from class, that is not work for proguarded apps.
Change the interface which takes SearchIndexableBundle as input which
contains Class and SearchIndexProvider, we can check SearchIndexProvider
is existed in compile time. And without the reflection code in Settings,
we get some performance improvement.

Bug: 135053028
Test: robolectric
Change-Id: I27a898c36a388d2b532d6452b63abb09f493ef24
parent 46214265
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