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

Commit 05f45ce7 authored by Ram Indani's avatar Ram Indani Committed by Android (Google) Code Review
Browse files

Merge "SF: resyncToHardwareVsync after sending a notifyExpectedPresent hint." into main

parents 99d43070 2ff3cd44
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4231,6 +4231,8 @@ void SurfaceFlinger::scheduleNotifyExpectedPresentHint(PhysicalDisplayId display
            if (data.hintStatus.compare_exchange_strong(scheduleHintOnTx,
                                                        NotifyExpectedPresentHintStatus::Sent)) {
                sendHint();
                constexpr bool kAllowToEnable = true;
                mScheduler->resyncToHardwareVsync(displayId, kAllowToEnable);
            }
        }));
    }