Merge "Make sure we do not make UI calls from background thread in DashboardSummary class." into pi-dev
am: e3813863b7
Change-Id: Iba013ff7a6983b7544b5194ff3480f1b1aa28025
This commit is contained in:
@@ -276,7 +276,7 @@ public class DashboardSummary extends InstrumentedFragment
|
||||
mSummaryLoader.updateSummaryToCache(category);
|
||||
mStagingCategory = category;
|
||||
if (mSuggestionControllerMixin == null) {
|
||||
mAdapter.setCategory(mStagingCategory);
|
||||
ThreadUtils.postOnMainThread(() -> mAdapter.setCategory(mStagingCategory));
|
||||
return;
|
||||
}
|
||||
if (mSuggestionControllerMixin.isSuggestionLoaded()) {
|
||||
|
Reference in New Issue
Block a user