smartdevicelink / sdl_hmi

BSD 3-Clause "New" or "Revised" License
14 stars 43 forks source link

Audio SOURCE switching in HMI_FULL causes UI issue #692

Closed ShobhitAd closed 1 year ago

ShobhitAd commented 1 year ago

Description:

Switching the Audio SOURCE while the app is in HMI full results in a weird UI state

Precondition:

  1. Add remote control permissions in the preloaded_pt
    "app_policies": {
            "default": {
                "keep_context": false,
                "steal_focus": false,
                "priority": "NONE",
                "default_hmi": "NONE",
                "groups": [
                    "Base-4", "RemoteControl"
                ],
                "moduleType": [],
                "RequestType": [],
                "RequestSubType": []
            },
    1. HMI and SDL are started
    2. Mobile app(REMOTE_CONTROL) is registered
    3. App is activated (HMI_FULL)

Steps to reproduce:

  1. App sends a ButtonPress request with the following params: {"moduleType":"RADIO","buttonName":"SOURCE","buttonPressMode":"LONG"}

Expected result:

Audio source switches in the background. No changes to app UI

Actual result:

The HMI switches to new audio source and switches back to the app, resulting in a weird UI view Source Switch

Environment:

SDL: release/8.2.0 HMI: release/5.8.0

ShobhitAd commented 1 year ago

Closed via https://github.com/smartdevicelink/sdl_hmi/pull/691