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

Commit 8a742802 authored by John Reck's avatar John Reck Committed by Android (Google) Code Review
Browse files

Merge "Add missing Looper::setForThread"

parents b68b8a84 352e9f0b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -68,10 +68,12 @@ protected:
    void processQueue() { mQueue.process(); }

    virtual bool threadLoop() override {
        Looper::setForThread(mLooper);
        while (!exitPending()) {
            waitForWork();
            processQueue();
        }
        Looper::setForThread(nullptr);
        return false;
    }