You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When subscribed to a button, having an OnRPCNotificaionListener for FunctionID.ON_BUTTON_PRESS and FunctionID.ON_BUTTON_EVENT, the first time the button is pressed onEvent gets triggered right away, but On_Button_Press is delayed by about a minute or more. The problem goes away until you click on a menu item, then it comes back the next time you click on the subscribed button.
Reproduction Steps
IN JavaSE ONLY
Add OnRPCNotificaionListener for FunctionID.ON_BUTTON_PRESS and FunctionID.ON_BUTTON_EVENT
Subscribe to a button
Click on the button subscribed
Expected Behavior
ON_BUTTON_PRESS should be called right away with ON_BUTTON_EVENT
Observed Behavior
ON_BUTTON_PRESS is delayed by about a minute
OS & Version Information
Testing Against: Core using sdl_HMI
Test Case, Sample Code, and / or Example App
sdlManager.addOnRPCNotificationListener(FunctionID.ON_BUTTON_PRESS, new OnRPCNotificationListener() {
@Override
public void onNotified(RPCNotification notification) {
Log.i(TAG, "onNotified: OnPress");
}
});
sdlManager.addOnRPCNotificationListener(FunctionID.ON_BUTTON_EVENT, new OnRPCNotificationListener() {
@Override
public void onNotified(RPCNotification notification) {
Log.i(TAG, "onNotified: OnEvent");
}
});
SubscribeButton subscribeButtonRequest = new SubscribeButton();
subscribeButtonRequest.setButtonName(ButtonName.PRESET_1);
subscribeButtonRequest.setOnRPCResponseListener(new OnRPCResponseListener() {
@Override
public void onResponse(int correlationId, RPCResponse response) {
}
});
sdlManager.sendRPC(subscribeButtonRequest);
The text was updated successfully, but these errors were encountered:
Bug Report
When subscribed to a button, having an OnRPCNotificaionListener for FunctionID.ON_BUTTON_PRESS and FunctionID.ON_BUTTON_EVENT, the first time the button is pressed onEvent gets triggered right away, but On_Button_Press is delayed by about a minute or more. The problem goes away until you click on a menu item, then it comes back the next time you click on the subscribed button.
Reproduction Steps
IN JavaSE ONLY
Expected Behavior
ON_BUTTON_PRESS should be called right away with ON_BUTTON_EVENT
Observed Behavior
ON_BUTTON_PRESS is delayed by about a minute
OS & Version Information
Test Case, Sample Code, and / or Example App
The text was updated successfully, but these errors were encountered: