Skip to content

Commit

Permalink
Merge pull request #1010 from smartdevicelink/bugfix/issue_1007_butto…
Browse files Browse the repository at this point in the history
…n_press

only send button press once
  • Loading branch information
BrettyWhite authored Mar 18, 2019
2 parents 87f7d26 + a4af5a1 commit 3404593
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4420,7 +4420,9 @@ public void sendRPC(RPCMessage message) throws SdlException {
if (ButtonName.OK.equals(buttonName)) {
RPCRequest request2 = new RPCRequest(request);
request2.setParameters(SubscribeButton.KEY_BUTTON_NAME, ButtonName.PLAY_PAUSE);
request2.setOnRPCResponseListener(request.getOnRPCResponseListener());
sendRPCMessagePrivate(request2);
return;
}
}
}
Expand Down

0 comments on commit 3404593

Please sign in to comment.