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

Commit 81695988 authored by Jason Monk's avatar Jason Monk
Browse files

SummaryLoader: Make sure all messages are proccessed on release

Otherwise the receivers don't get unregistered, which causes a warning,
immediately followed by them actually getting unregistered, which
causes a crash.

Bug: 26027137
Change-Id: Ib55edb4490de960d10036c35d98b8a8e31e13ae1
parent 664f94e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ public class SummaryLoader {
    }

    public void release() {
        mWorkerThread.quit();
        mWorkerThread.quitSafely();
    }

    public void setAdapter(DashboardAdapter adapter) {