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
Loading
Please register or sign in to comment