Skip to content

Commit

Permalink
Fix device validation of desktop devices. (#1171)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuetschard committed Jan 19, 2023
1 parent 7ae8fe7 commit 1cfd938
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gapis/trace/desktop/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,9 @@ func (t *DesktopTracer) ProcessProfilingData(ctx context.Context, buffer *bytes.
}

func (t *DesktopTracer) Validate(ctx context.Context, enableLocalFiles bool) (*service.DeviceValidationResult, error) {
return &service.DeviceValidationResult{}, nil
return &service.DeviceValidationResult{
ErrorCode: service.DeviceValidationResult_OK,
}, nil
}

// TraceConfiguration returns the device's supported trace configuration.
Expand Down

0 comments on commit 1cfd938

Please sign in to comment.