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

Commit 3493398f authored by Leon Scroggins's avatar Leon Scroggins Committed by Android (Google) Code Review
Browse files

Merge "Remove implicit capture warning from Scheduler" into main

parents 15b56fd2 53ca956f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -584,7 +584,7 @@ void Scheduler::onHardwareVsyncRequest(PhysicalDisplayId id, bool enabled) {


    // On main thread to serialize reads/writes of pending hardware VSYNC state.
    // On main thread to serialize reads/writes of pending hardware VSYNC state.
    static_cast<void>(
    static_cast<void>(
            schedule([=]() FTL_FAKE_GUARD(mDisplayLock) FTL_FAKE_GUARD(kMainThreadContext) {
            schedule([=, this]() FTL_FAKE_GUARD(mDisplayLock) FTL_FAKE_GUARD(kMainThreadContext) {
                ATRACE_NAME(ftl::Concat(whence, ' ', id.value, ' ', enabled).c_str());
                ATRACE_NAME(ftl::Concat(whence, ' ', id.value, ' ', enabled).c_str());


                if (const auto displayOpt = mDisplays.get(id)) {
                if (const auto displayOpt = mDisplays.get(id)) {