Loading services/surfaceflinger/SurfaceFlinger.cpp +6 −6 Original line number Diff line number Diff line Loading @@ -3281,15 +3281,15 @@ void SurfaceFlinger::buildWindowInfos(std::vector<WindowInfo>& outWindowInfos, continue; } // There is more than one display for the layerStack. In this case, the display that is // configured to receive input takes precedence. // There is more than one display for the layerStack. In this case, the first display that // is configured to receive input takes precedence. auto& details = it->second; if (!display->receivesInput()) { continue; } ALOGE_IF(details.receivesInput, if (details.receivesInput) { ALOGW_IF(display->receivesInput(), "Multiple displays claim to accept input for the same layer stack: %u", layerStackId); continue; } details.receivesInput = display->receivesInput(); details.isSecure = display->isSecure(); details.transform = std::move(transform); Loading Loading
services/surfaceflinger/SurfaceFlinger.cpp +6 −6 Original line number Diff line number Diff line Loading @@ -3281,15 +3281,15 @@ void SurfaceFlinger::buildWindowInfos(std::vector<WindowInfo>& outWindowInfos, continue; } // There is more than one display for the layerStack. In this case, the display that is // configured to receive input takes precedence. // There is more than one display for the layerStack. In this case, the first display that // is configured to receive input takes precedence. auto& details = it->second; if (!display->receivesInput()) { continue; } ALOGE_IF(details.receivesInput, if (details.receivesInput) { ALOGW_IF(display->receivesInput(), "Multiple displays claim to accept input for the same layer stack: %u", layerStackId); continue; } details.receivesInput = display->receivesInput(); details.isSecure = display->isSecure(); details.transform = std::move(transform); Loading