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

Commit 549a188e authored by Rajeev Kumar's avatar Rajeev Kumar
Browse files

Make sure we do not make UI calls from background thread in DashboardSummary class.

Bug: 79705354
Test: make RunSettingsRoboTests -j40 and manual testing.
Change-Id: I08a08e05f3424f4a6d2100aed32d32bb15997c86
parent 15700cb7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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()) {