[HOTFIX] revert handling ping and voice session until aasdk change
This commit is contained in:
parent
50e077aa6e
commit
ae66394b6b
@ -54,10 +54,10 @@ public:
|
|||||||
void onShutdownRequest(const aasdk::proto::messages::ShutdownRequest& request) override;
|
void onShutdownRequest(const aasdk::proto::messages::ShutdownRequest& request) override;
|
||||||
void onShutdownResponse(const aasdk::proto::messages::ShutdownResponse& response) override;
|
void onShutdownResponse(const aasdk::proto::messages::ShutdownResponse& response) override;
|
||||||
void onNavigationFocusRequest(const aasdk::proto::messages::NavigationFocusRequest& request) override;
|
void onNavigationFocusRequest(const aasdk::proto::messages::NavigationFocusRequest& request) override;
|
||||||
void onPingRequest(const aasdk::proto::messages::PingRequest& request) override;
|
// void onPingRequest(const aasdk::proto::messages::PingRequest& request) override; // TODO handling ping and voice session
|
||||||
void onPingResponse(const aasdk::proto::messages::PingResponse& response) override;
|
void onPingResponse(const aasdk::proto::messages::PingResponse& response) override;
|
||||||
void onChannelError(const aasdk::error::Error& e) override;
|
void onChannelError(const aasdk::error::Error& e) override;
|
||||||
void onVoiceSessionRequest(const aasdk::proto::messages::VoiceSessionRequest& request) override;
|
// void onVoiceSessionRequest(const aasdk::proto::messages::VoiceSessionRequest& request) override; // TODO handling ping and voice session
|
||||||
|
|
||||||
private:
|
private:
|
||||||
using std::enable_shared_from_this<AndroidAutoEntity>::shared_from_this;
|
using std::enable_shared_from_this<AndroidAutoEntity>::shared_from_this;
|
||||||
|
@ -223,7 +223,7 @@ void AndroidAutoEntity::onNavigationFocusRequest(const aasdk::proto::messages::N
|
|||||||
controlServiceChannel_->receive(this->shared_from_this());
|
controlServiceChannel_->receive(this->shared_from_this());
|
||||||
}
|
}
|
||||||
|
|
||||||
void AndroidAutoEntity::onVoiceSessionRequest(const aasdk::proto::messages::VoiceSessionRequest& request)
|
/* void AndroidAutoEntity::onVoiceSessionRequest(const aasdk::proto::messages::VoiceSessionRequest& request)
|
||||||
{
|
{
|
||||||
|
|
||||||
OPENAUTO_LOG(info) << "[AndroidAutoEntity] Voice session request, type: " << (request.type()==1)?("START"):((request.type()==2)?("STOP"):("UNKNOWN"));
|
OPENAUTO_LOG(info) << "[AndroidAutoEntity] Voice session request, type: " << (request.type()==1)?("START"):((request.type()==2)?("STOP"):("UNKNOWN"));
|
||||||
@ -243,7 +243,7 @@ void AndroidAutoEntity::onPingRequest(const aasdk::proto::messages::PingRequest&
|
|||||||
promise->then([]() {}, std::bind(&AndroidAutoEntity::onChannelError, this->shared_from_this(), std::placeholders::_1));
|
promise->then([]() {}, std::bind(&AndroidAutoEntity::onChannelError, this->shared_from_this(), std::placeholders::_1));
|
||||||
controlServiceChannel_->sendPingResponse(response, std::move(promise));
|
controlServiceChannel_->sendPingResponse(response, std::move(promise));
|
||||||
controlServiceChannel_->receive(this->shared_from_this());
|
controlServiceChannel_->receive(this->shared_from_this());
|
||||||
}
|
} */ // TODO handling ping and voice session
|
||||||
|
|
||||||
void AndroidAutoEntity::onPingResponse(const aasdk::proto::messages::PingResponse&)
|
void AndroidAutoEntity::onPingResponse(const aasdk::proto::messages::PingResponse&)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user