Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conditions to transfer on button press on button event #775

Merged
merged 3 commits into from
Aug 25, 2016
Merged

Conditions to transfer on button press on button event #775

merged 3 commits into from
Aug 25, 2016

Conversation

OHerasym
Copy link
Contributor

PR Changes:

  • Fix OnButtonPress & OnButtonEvent description
  • Change conditions to transfer OnButtonEvent
  • Change conditions to transfer OnButtonPress

Related: APPLINK-25470

Old pull request

@OHerasym
Copy link
Contributor Author

@OHerasym
Copy link
Contributor Author

@TMelnyk, Please review HMI_API.xml file

@TMelnyk
Copy link

TMelnyk commented Aug 23, 2016

reviewed

@dtrunov
Copy link
Contributor

dtrunov commented Aug 23, 2016

@OHerasym Reviewed

1 similar comment
@VVeremjova
Copy link
Contributor

@OHerasym Reviewed

SendButtonPress(subscribed_app);
} else if (subscribed_app->IsFullscreen()) {
// if No "appID" - send it FULL apps only.
SendButtonPress(subscribed_app);
Copy link
Contributor

Choose a reason for hiding this comment

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

@OHerasym, seems there are same actions in "if" and in "else if". Can it be just one "if"? (is there important side effects in IsFullscreen?)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@orhan-mehmedov
Copy link
Contributor

@OHerasym Reviewed

@@ -57,6 +57,9 @@ void OnButtonEventNotification::Run() {
static_cast<uint32_t>(
(*message_)[strings::msg_params][hmi_response::button_name].asInt());

ApplicationSharedPtr app = ApplicationManagerImpl::instance()->application(
Copy link
Contributor

Choose a reason for hiding this comment

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

@OHerasym can app be const?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@LuxoftAKutsan
Copy link
Contributor

Reviewed

1 similar comment
@anosach-luxoft
Copy link
Contributor

Reviewed

@anton-hrytsevich anton-hrytsevich merged commit c201c11 into smartdevicelink:master Aug 25, 2016
davidswi pushed a commit to davidswi/sdl_core that referenced this pull request Oct 25, 2017
…4.1 to develop

* commit 'a23e449ffbcab3e0f82d5317ba3e9579396f0b3c': (673 commits)
  SDL-715 fixing button issue for media apps
  SDL-627 fixing onHMIstatus issue
  Revert "SDL-627 iOS onHMIstatus NONE issue"
  SDL-627 iOS onHMIstatus NONE issue
  Fix SQLite3 include path / SDL-628
  fixing policy continue to update issue
  fixing iOS tranport issue
  fixing logging issue
  deleting duplicate folder
  fixing build break
  fixing build errors
  Make code appropriate to Google coding style
  Conditions to transfer on button press on button event (smartdevicelink#775)
  Update logger properties to log to file only
  Change_VerifyPeer_parameter_in_ini_file_to_true
  Fix application add to app_level table
  Send OnHashChange for (Un)SubscribeWayPoints
  Fix_core_dump_due_to_connection_been_created_twice
  Removes odd calls to valid() and changed functor
  Fixes includes and logs
  ...
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.

8 participants