Skip to content

Conversation

@Ypostolov
Copy link
Contributor

@Ypostolov Ypostolov commented Aug 9, 2018

Fixes #2399

This PR is ready for review.

Risk

This PR makes no API changes.

Testing Plan

Changes in PR are already covered within existing unit tests.

Summary

SDL respond UNSUPPORTED_RESOURCE on SystemRequest (QUERY_APPS) to mobile app in case SDL 4.0 feature is required to be ommited in implementation.

CLA

@Ypostolov Ypostolov force-pushed the fix/SDL_must_respond_unsupported_resource branch from 0ba1811 to 68750b6 Compare August 9, 2018 08:20

if (mobile_apis::RequestType::QUERY_APPS == request_type &&
application_manager_.get_settings().max_supported_protocol_version() <
4) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Ypostolov 4 is like a magic number extract ti variable with comment

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JenkinsSDLOnCloud
Copy link

Can one of the admins verify this patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants