{"action":"created","comment":{"url":"https://api.github.com/repos/CustomSDL/sdl_core/pulls/comments/75624544","id":75624544,"diff_hunk":"@@ -112,16 +117,41 @@ class VRModule : public functional_modules::GenericModule,\n   void SendMessageToMobile(application_manager::MessagePtr msg);\n \n   /**\n-   * @brief receive message from mobile\n-   */\n-  void ReceiveMessageFromMobile();\n-\n-  /**\n    * Handles received message from HMI (Applink)\n    * @param message is GPB message according with protocol\n    */\n   virtual void OnReceived(const vr_hmi_api::ServiceMessage& message);\n \n+  /**\n+   * @brief Returns key of application that process VR requests.\n+   * @return mobile application connection key\n+   */\n+  uint32_t activated_connection_key() const {\n+    return activated_connection_key_;\n+  }\n+\n+  /**\n+   * @brief Sets key of application that process VR requests. It happens\n+   * when ActivateServiceRequest come from HU\n+   */\n+  void set_activated_connection_key(const uint32_t& connection_key) {\n+    activated_connection_key_ = connection_key;\n+  }\n+\n+  /**\n+   * @brief stored_app_id getter for stored app ID\n+   * @return id of default application for VR service\n+   */\n+  const uint32_t stored_app_id() const { return stored_app_id_; }","path":"src/components/vr_cooperation/include/vr_cooperation/vr_module.h","position":69,"original_position":69,"commit_id":"74fa51eb5ea5aaf2fc3faeee2bb53c7341c9ceaa","original_commit_id":"74fa51eb5ea5aaf2fc3faeee2bb53c7341c9ceaa","user":{"login":"giangtqh","id":7510885,"avatar_url":"https://avatars.githubusercontent.com/u/7510885?v=3","gravatar_id":"","url":"https://api.github.com/users/giangtqh","html_url":"https://github.com/giangtqh","followers_url":"https://api.github.com/users/giangtqh/followers","following_url":"https://api.github.com/users/giangtqh/following{/other_user}","gists_url":"https://api.github.com/users/giangtqh/gists{/gist_id}","starred_url":"https://api.github.com/users/giangtqh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giangtqh/subscriptions","organizations_url":"https://api.github.com/users/giangtqh/orgs","repos_url":"https://api.github.com/users/giangtqh/repos","events_url":"https://api.github.com/users/giangtqh/events{/privacy}","received_events_url":"https://api.github.com/users/giangtqh/received_events","type":"User","site_admin":false},"body":"it's coding style from CM project (CustomSDL/connectivity_manager#55)","created_at":"2016-08-22T06:41:05Z","updated_at":"2016-08-22T06:41:05Z","html_url":"https://github.com/CustomSDL/sdl_core/pull/188#discussion_r75624544","pull_request_url":"https://api.github.com/repos/CustomSDL/sdl_core/pulls/188","_links":{"self":{"href":"https://api.github.com/repos/CustomSDL/sdl_core/pulls/comments/75624544"},"html":{"href":"https://github.com/CustomSDL/sdl_core/pull/188#discussion_r75624544"},"pull_request":{"href":"https://api.github.com/repos/CustomSDL/sdl_core/pulls/188"}}},"pull_request":{"url":"https://api.github.com/repos/CustomSDL/sdl_core/pulls/188","id":82139124,"html_url":"https://github.com/CustomSDL/sdl_core/pull/188","diff_url":"https://github.com/CustomSDL/sdl_core/pull/188.diff","patch_url":"https://github.com/CustomSDL/sdl_core/pull/188.patch","issue_url":"https://api.github.com/repos/CustomSDL/sdl_core/issues/188","number":188,"state":"open","locked":false,"title":"REVSDL-2458 Update VRModule for GPB functionality","user":{"login":"giangtqh","id":7510885,"avatar_url":"https://avatars.githubusercontent.com/u/7510885?v=3","gravatar_id":"","url":"https://api.github.com/users/giangtqh","html_url":"https://github.com/giangtqh","followers_url":"https://api.github.com/users/giangtqh/followers","following_url":"https://api.github.com/users/giangtqh/following{/other_user}","gists_url":"https://api.github.com/users/giangtqh/gists{/gist_id}","starred_url":"https://api.github.com/users/giangtqh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giangtqh/subscriptions","organizations_url":"https://api.github.com/users/giangtqh/orgs","repos_url":"https://api.github.com/users/giangtqh/repos","events_url":"https://api.github.com/users/giangtqh/events{/privacy}","received_events_url":"https://api.github.com/users/giangtqh/received_events","type":"User","site_admin":false},"body":"@KKarlash \r\n@bonewell \r\n@VladSemenyuk \r\n@DKlimenko \r\n@thinhts \r\nplease review","created_at":"2016-08-22T06:20:09Z","updated_at":"2016-08-22T06:41:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"72021ec15b0a3d85628a4d2cd02699bafd9a3c21","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CustomSDL/sdl_core/pulls/188/commits","review_comments_url":"https://api.github.com/repos/CustomSDL/sdl_core/pulls/188/comments","review_comment_url":"https://api.github.com/repos/CustomSDL/sdl_core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CustomSDL/sdl_core/issues/188/comments","statuses_url":"https://api.github.com/repos/CustomSDL/sdl_core/statuses/74fa51eb5ea5aaf2fc3faeee2bb53c7341c9ceaa","head":{"label":"CustomSDL:REVSDL-2458_Update_VRModule_for_GPB_functionality","ref":"REVSDL-2458_Update_VRModule_for_GPB_functionality","sha":"74fa51eb5ea5aaf2fc3faeee2bb53c7341c9ceaa","user":{"login":"CustomSDL","id":11158379,"avatar_url":"https://avatars.githubusercontent.com/u/11158379?v=3","gravatar_id":"","url":"https://api.github.com/users/CustomSDL","html_url":"https://github.com/CustomSDL","followers_url":"https://api.github.com/users/CustomSDL/followers","following_url":"https://api.github.com/users/CustomSDL/following{/other_user}","gists_url":"https://api.github.com/users/CustomSDL/gists{/gist_id}","starred_url":"https://api.github.com/users/CustomSDL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CustomSDL/subscriptions","organizations_url":"https://api.github.com/users/CustomSDL/orgs","repos_url":"https://api.github.com/users/CustomSDL/repos","events_url":"https://api.github.com/users/CustomSDL/events{/privacy}","received_events_url":"https://api.github.com/users/CustomSDL/received_events","type":"Organization","site_admin":false},"repo":{"id":33346123,"name":"sdl_core","full_name":"CustomSDL/sdl_core","owner":{"login":"CustomSDL","id":11158379,"avatar_url":"https://avatars.githubusercontent.com/u/11158379?v=3","gravatar_id":"","url":"https://api.github.com/users/CustomSDL","html_url":"https://github.com/CustomSDL","followers_url":"https://api.github.com/users/CustomSDL/followers","following_url":"https://api.github.com/users/CustomSDL/following{/other_user}","gists_url":"https://api.github.com/users/CustomSDL/gists{/gist_id}","starred_url":"https://api.github.com/users/CustomSDL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CustomSDL/subscriptions","organizations_url":"https://api.github.com/users/CustomSDL/orgs","repos_url":"https://api.github.com/users/CustomSDL/repos","events_url":"https://api.github.com/users/CustomSDL/events{/privacy}","received_events_url":"https://api.github.com/users/CustomSDL/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CustomSDL/sdl_core","description":"SmartDeviceLink Head Unit Emulator","fork":true,"url":"https://api.github.com/repos/CustomSDL/sdl_core","forks_url":"https://api.github.com/repos/CustomSDL/sdl_core/forks","keys_url":"https://api.github.com/repos/CustomSDL/sdl_core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CustomSDL/sdl_core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CustomSDL/sdl_core/teams","hooks_url":"https://api.github.com/repos/CustomSDL/sdl_core/hooks","issue_events_url":"https://api.github.com/repos/CustomSDL/sdl_core/issues/events{/number}","events_url":"https://api.github.com/repos/CustomSDL/sdl_core/events","assignees_url":"https://api.github.com/repos/CustomSDL/sdl_core/assignees{/user}","branches_url":"https://api.github.com/repos/CustomSDL/sdl_core/branches{/branch}","tags_url":"https://api.github.com/repos/CustomSDL/sdl_core/tags","blobs_url":"https://api.github.com/repos/CustomSDL/sdl_core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CustomSDL/sdl_core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CustomSDL/sdl_core/git/refs{/sha}","trees_url":"https://api.github.com/repos/CustomSDL/sdl_core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CustomSDL/sdl_core/statuses/{sha}","languages_url":"https://api.github.com/repos/CustomSDL/sdl_core/languages","stargazers_url":"https://api.github.com/repos/CustomSDL/sdl_core/stargazers","contributors_url":"https://api.github.com/repos/CustomSDL/sdl_core/contributors","subscribers_url":"https://api.github.com/repos/CustomSDL/sdl_core/subscribers","subscription_url":"https://api.github.com/repos/CustomSDL/sdl_core/subscription","commits_url":"https://api.github.com/repos/CustomSDL/sdl_core/commits{/sha}","git_commits_url":"https://api.github.com/repos/CustomSDL/sdl_core/git/commits{/sha}","comments_url":"https://api.github.com/repos/CustomSDL/sdl_core/comments{/number}","issue_comment_url":"https://api.github.com/repos/CustomSDL/sdl_core/issues/comments{/number}","contents_url":"https://api.github.com/repos/CustomSDL/sdl_core/contents/{+path}","compare_url":"https://api.github.com/repos/CustomSDL/sdl_core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CustomSDL/sdl_core/merges","archive_url":"https://api.github.com/repos/CustomSDL/sdl_core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CustomSDL/sdl_core/downloads","issues_url":"https://api.github.com/repos/CustomSDL/sdl_core/issues{/number}","pulls_url":"https://api.github.com/repos/CustomSDL/sdl_core/pulls{/number}","milestones_url":"https://api.github.com/repos/CustomSDL/sdl_core/milestones{/number}","notifications_url":"https://api.github.com/repos/CustomSDL/sdl_core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CustomSDL/sdl_core/labels{/name}","releases_url":"https://api.github.com/repos/CustomSDL/sdl_core/releases{/id}","deployments_url":"https://api.github.com/repos/CustomSDL/sdl_core/deployments","created_at":"2015-04-03T04:26:56Z","updated_at":"2016-01-13T08:32:21Z","pushed_at":"2016-08-22T06:20:09Z","git_url":"git://github.com/CustomSDL/sdl_core.git","ssh_url":"git@github.com:CustomSDL/sdl_core.git","clone_url":"https://github.com/CustomSDL/sdl_core.git","svn_url":"https://github.com/CustomSDL/sdl_core","homepage":"","size":310961,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"CustomSDL:SDLRPCService","ref":"SDLRPCService","sha":"227d2a00f50c550a5a7821d96276ee3536b9a960","user":{"login":"CustomSDL","id":11158379,"avatar_url":"https://avatars.githubusercontent.com/u/11158379?v=3","gravatar_id":"","url":"https://api.github.com/users/CustomSDL","html_url":"https://github.com/CustomSDL","followers_url":"https://api.github.com/users/CustomSDL/followers","following_url":"https://api.github.com/users/CustomSDL/following{/other_user}","gists_url":"https://api.github.com/users/CustomSDL/gists{/gist_id}","starred_url":"https://api.github.com/users/CustomSDL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CustomSDL/subscriptions","organizations_url":"https://api.github.com/users/CustomSDL/orgs","repos_url":"https://api.github.com/users/CustomSDL/repos","events_url":"https://api.github.com/users/CustomSDL/events{/privacy}","received_events_url":"https://api.github.com/users/CustomSDL/received_events","type":"Organization","site_admin":false},"repo":{"id":33346123,"name":"sdl_core","full_name":"CustomSDL/sdl_core","owner":{"login":"CustomSDL","id":11158379,"avatar_url":"https://avatars.githubusercontent.com/u/11158379?v=3","gravatar_id":"","url":"https://api.github.com/users/CustomSDL","html_url":"https://github.com/CustomSDL","followers_url":"https://api.github.com/users/CustomSDL/followers","following_url":"https://api.github.com/users/CustomSDL/following{/other_user}","gists_url":"https://api.github.com/users/CustomSDL/gists{/gist_id}","starred_url":"https://api.github.com/users/CustomSDL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CustomSDL/subscriptions","organizations_url":"https://api.github.com/users/CustomSDL/orgs","repos_url":"https://api.github.com/users/CustomSDL/repos","events_url":"https://api.github.com/users/CustomSDL/events{/privacy}","received_events_url":"https://api.github.com/users/CustomSDL/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CustomSDL/sdl_core","description":"SmartDeviceLink Head Unit Emulator","fork":true,"url":"https://api.github.com/repos/CustomSDL/sdl_core","forks_url":"https://api.github.com/repos/CustomSDL/sdl_core/forks","keys_url":"https://api.github.com/repos/CustomSDL/sdl_core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CustomSDL/sdl_core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CustomSDL/sdl_core/teams","hooks_url":"https://api.github.com/repos/CustomSDL/sdl_core/hooks","issue_events_url":"https://api.github.com/repos/CustomSDL/sdl_core/issues/events{/number}","events_url":"https://api.github.com/repos/CustomSDL/sdl_core/events","assignees_url":"https://api.github.com/repos/CustomSDL/sdl_core/assignees{/user}","branches_url":"https://api.github.com/repos/CustomSDL/sdl_core/branches{/branch}","tags_url":"https://api.github.com/repos/CustomSDL/sdl_core/tags","blobs_url":"https://api.github.com/repos/CustomSDL/sdl_core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CustomSDL/sdl_core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CustomSDL/sdl_core/git/refs{/sha}","trees_url":"https://api.github.com/repos/CustomSDL/sdl_core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CustomSDL/sdl_core/statuses/{sha}","languages_url":"https://api.github.com/repos/CustomSDL/sdl_core/languages","stargazers_url":"https://api.github.com/repos/CustomSDL/sdl_core/stargazers","contributors_url":"https://api.github.com/repos/CustomSDL/sdl_core/contributors","subscribers_url":"https://api.github.com/repos/CustomSDL/sdl_core/subscribers","subscription_url":"https://api.github.com/repos/CustomSDL/sdl_core/subscription","commits_url":"https://api.github.com/repos/CustomSDL/sdl_core/commits{/sha}","git_commits_url":"https://api.github.com/repos/CustomSDL/sdl_core/git/commits{/sha}","comments_url":"https://api.github.com/repos/CustomSDL/sdl_core/comments{/number}","issue_comment_url":"https://api.github.com/repos/CustomSDL/sdl_core/issues/comments{/number}","contents_url":"https://api.github.com/repos/CustomSDL/sdl_core/contents/{+path}","compare_url":"https://api.github.com/repos/CustomSDL/sdl_core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CustomSDL/sdl_core/merges","archive_url":"https://api.github.com/repos/CustomSDL/sdl_core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CustomSDL/sdl_core/downloads","issues_url":"https://api.github.com/repos/CustomSDL/sdl_core/issues{/number}","pulls_url":"https://api.github.com/repos/CustomSDL/sdl_core/pulls{/number}","milestones_url":"https://api.github.com/repos/CustomSDL/sdl_core/milestones{/number}","notifications_url":"https://api.github.com/repos/CustomSDL/sdl_core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CustomSDL/sdl_core/labels{/name}","releases_url":"https://api.github.com/repos/CustomSDL/sdl_core/releases{/id}","deployments_url":"https://api.github.com/repos/CustomSDL/sdl_core/deployments","created_at":"2015-04-03T04:26:56Z","updated_at":"2016-01-13T08:32:21Z","pushed_at":"2016-08-22T06:20:09Z","git_url":"git://github.com/CustomSDL/sdl_core.git","ssh_url":"git@github.com:CustomSDL/sdl_core.git","clone_url":"https://github.com/CustomSDL/sdl_core.git","svn_url":"https://github.com/CustomSDL/sdl_core","homepage":"","size":310961,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CustomSDL/sdl_core/pulls/188"},"html":{"href":"https://github.com/CustomSDL/sdl_core/pull/188"},"issue":{"href":"https://api.github.com/repos/CustomSDL/sdl_core/issues/188"},"comments":{"href":"https://api.github.com/repos/CustomSDL/sdl_core/issues/188/comments"},"review_comments":{"href":"https://api.github.com/repos/CustomSDL/sdl_core/pulls/188/comments"},"review_comment":{"href":"https://api.github.com/repos/CustomSDL/sdl_core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CustomSDL/sdl_core/pulls/188/commits"},"statuses":{"href":"https://api.github.com/repos/CustomSDL/sdl_core/statuses/74fa51eb5ea5aaf2fc3faeee2bb53c7341c9ceaa"}}}}
{"actor":{"display_login":"giangtqh"}}