diff --git a/display/composer/v1_0/display_command/display_cmd_responser.h b/display/composer/v1_0/display_command/display_cmd_responser.h index 628d8b11ca864fe6337cb356108a8623786cbde8..b75e9af37e2b85b6bc70064a62873c5df39bade1 100755 --- a/display/composer/v1_0/display_command/display_cmd_responser.h +++ b/display/composer/v1_0/display_command/display_cmd_responser.h @@ -896,9 +896,9 @@ EXIT: cacheMgr_->Dump(); } HdfTrace traceVdi("SetLayerBuffer", traceMsg); - needMoveFd = true; int rc = impl_->SetLayerBuffer(data.devId, data.layerId, handle, fd); DISPLAY_CHK_RETURN(rc != HDF_SUCCESS, HDF_FAILURE, HDF_LOGE(" fail")); + needMoveFd = true; return HDF_SUCCESS; }); return ret;