Skip to content

Commit 2c6de79

Browse files
Treehugger RobotAndroid (Google) Code Review
authored andcommitted
Merge "Avoid unnecessary copies in updateInputFlinger" into main
2 parents f7873f9 + a4eb946 commit 2c6de79

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

services/surfaceflinger/SurfaceFlinger.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4021,7 +4021,8 @@ void SurfaceFlinger::updateInputFlinger(VsyncId vsyncId, TimePoint frameTime) {
40214021
inputWindowCommands =
40224022
std::move(mInputWindowCommands),
40234023
inputFlinger = mInputFlinger, this,
4024-
visibleWindowsChanged, vsyncId, frameTime]() {
4024+
visibleWindowsChanged, vsyncId,
4025+
frameTime]() mutable {
40254026
SFTRACE_NAME("BackgroundExecutor::updateInputFlinger");
40264027
if (updateWindowInfo) {
40274028
mWindowInfosListenerInvoker

0 commit comments

Comments
 (0)