summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Keeler <jacob.keeler@livioradio.com>2018-08-30 10:28:08 -0400
committerGitHub <noreply@github.com>2018-08-30 10:28:08 -0400
commit44417966102d4817ba5e2ea2402accce92435a89 (patch)
treead7c58fabdad34966ea3f8c3ae7bbd5b00a3d94a
parent9e677078ba660d1602beb24d678a5c816e7558b8 (diff)
parent0f15383b930eb0a34eeadc78dc7a714cc16c3a55 (diff)
downloadsdl_core-44417966102d4817ba5e2ea2402accce92435a89.tar.gz
Merge pull request #2057 from smartdevicelink/fix/remove_allow_device_to_connect
Remove unused `AllowDeviceToConnect` RPC
-rw-r--r--src/components/application_manager/src/hmi_interfaces_impl.cc2
-rw-r--r--src/components/interfaces/HMI_API.xml7
2 files changed, 0 insertions, 9 deletions
diff --git a/src/components/application_manager/src/hmi_interfaces_impl.cc b/src/components/application_manager/src/hmi_interfaces_impl.cc
index e6636ed38f..452b5ab79d 100644
--- a/src/components/application_manager/src/hmi_interfaces_impl.cc
+++ b/src/components/application_manager/src/hmi_interfaces_impl.cc
@@ -61,8 +61,6 @@ generate_function_to_interface_convert_map() {
HmiInterfaces::HMI_INTERFACE_BasicCommunication;
convert_map[BasicCommunication_OnFileRemoved] =
HmiInterfaces::HMI_INTERFACE_BasicCommunication;
- convert_map[BasicCommunication_AllowDeviceToConnect] =
- HmiInterfaces::HMI_INTERFACE_BasicCommunication;
convert_map[BasicCommunication_OnDeviceChosen] =
HmiInterfaces::HMI_INTERFACE_BasicCommunication;
convert_map[BasicCommunication_OnFindApplications] =
diff --git a/src/components/interfaces/HMI_API.xml b/src/components/interfaces/HMI_API.xml
index a1cd0948c0..b4d4d2c850 100644
--- a/src/components/interfaces/HMI_API.xml
+++ b/src/components/interfaces/HMI_API.xml
@@ -3481,13 +3481,6 @@
<description>ID of the application.</description>
</param>
</function>
- <function name="AllowDeviceToConnect" messagetype="request">
- <description>Request from SmartDeviceLink to HMI to get the permissions of new device connection.</description>
- <param name="device" type="Common.DeviceInfo" mandatory="true"/>
- </function>
- <function name="AllowDeviceToConnect" messagetype="response">
- <param name="allow" type="Boolean" mandatory="true"/>
- </function>
<function name="OnDeviceChosen" messagetype="notification">
<description>Notification must be initiated by HMI on user selecting device in the list of devices.</description>
<param name="deviceInfo" type="Common.DeviceInfo" mandatory="true">