Skip to content

HMI does not stop speech-only Alert when receiving CancelInteraction #505

@jacobkeeler

Description

@jacobkeeler

Bug Report

If an app sends a CancelInteraction request for a speech-only Alert, the HMI responds with IGNORED and does not stop the current TTS. Also applies to SubtleAlert (note that as of now, TTS.Speak does not include a cancelID, so this could only really be correctly applied when the CancelInteraction request has no cancelID included)

Reproduction Steps
  1. Send Alert with only ttsChunks included, TTS is started
  2. Send CancelInteraction with functionID 12
Expected Behavior

TTS stops, app receives SUCCESS for CancelInteraction

Observed Behavior

TTS continues, app receives IGNORED for CancelInteraction

Browser & Version Information
  • Browser and Version: Google Chrome Version 97.0.4692.71
  • RPC Sent:
    Alert ({"ttsChunks": {["text": "A long string of text to speak out loud", "type": "TEXT"]}})
    CancelInteraction ({"functionID": 12})
  • Output Received: IGNORED, "The intended result is already in effect"
  • Generic HMI Version: release/0.12.0 branch
  • Testing Against: Android Test Suite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions