Set categories to the adapter if suggestion is not available.
If there's no suggestion, we should set the category to the adapter before returning. Bug: none Test: robotests Change-Id: I73bb248d17edb3c398a9fb0a8f3913e7233fcc0b
This commit is contained in:
@@ -268,6 +268,7 @@ public class DashboardSummary extends InstrumentedFragment
|
||||
mSummaryLoader.updateSummaryToCache(category);
|
||||
mStagingCategory = category;
|
||||
if (mSuggestionControllerMixin == null) {
|
||||
mAdapter.setCategory(mStagingCategory);
|
||||
return;
|
||||
}
|
||||
if (mSuggestionControllerMixin.isSuggestionLoaded()) {
|
||||
|
Reference in New Issue
Block a user