Move registerConfigProvider call before registerDataProvider.
`registerDataProvider` invokes `registerListener`, which calls `onSmartspaceTargetsUpdated` and eventually `CardPagerAdapter.setTargets`. `CardPagerAdapter.setTargets` (and also `onSmartSpaceTargetsUpdated, after ag/21572853) uses the config provider. We should set the config provider to the correct one before used. Bug: 270629477 Bug: 262630440 Test: manual Test: passes existing tests Change-Id: I898c012cd4b26e8b2be91ef900ccc384a4bafbbe
Loading
Please register or sign in to comment