Skip to content

Conversation

@pvvasilev
Copy link

If an app is not found in SDL but the mobile side
sends UnregisterAppInterface, SDL creates the mobile
request but never runs it because the app is not found.
Then the request times out and the response to the
mobile side is GENERIC_ERROR. Now command will be
ran and the proper response of APPLICATION_NOT_REGISTERED
will be sent.

If an app is not found in SDL but the mobile side
sends UnregisterAppInterface, SDL creates the mobile
request but never runs it because the app is not found.
Then the request times out and the response to the
mobile side is `GENERIC_ERROR`. Now command will be
ran and the proper response of `APPLICATION_NOT_REGISTERED`
will be sent.
@pvvasilev
Copy link
Author

Please review @AKalinich-Luxoft @anosach-luxoft @VProdanov

@pvvasilev pvvasilev requested a review from anosach-luxoft May 29, 2017 07:59
// RegisterAppInterface and UnregisterAppInterface should always be allowed
const mobile_apis::FunctionID::eType func_id =
static_cast<mobile_apis::FunctionID::eType>(function_id());
if (mobile_apis::FunctionID::RegisterAppInterfaceID == func_id ||
Copy link
Contributor

Choose a reason for hiding this comment

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

@pvvasilev I propose you to use helpers::Compare here

Copy link
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?

2 similar comments
@JenkinsSDLOnCloud
Copy link

Can one of the admins verify this patch?

@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.

4 participants