smartdevicelink / sdl_hmi

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

HMI does not apply HMIAppType from UI.ChangeRegistration during PTU #673

Open GetmanetsIrina opened 2 years ago

GetmanetsIrina commented 2 years ago

Precondition:

  1. Policy server, SDL, HMI are started
  2. Mobile app is registered with HMIAppType not defined on the Policy server (eg MEDIA)
  3. Mobile app is activated

Steps to reproduce:

  1. PTU is performed with new HMI type for the registered App (eg NAVIGATION)
  2. Activate app (After the app's AppHMIType is received due to Policies update being different from app's AppHMIType requested during registration, SDL puts such FULL or LIMITED app to BACKGROUND.)

Expected result:

  1. SDL sends the updated list of app's allowed AppHMITypes via UI.ChangeRegistration(appID, AppHMIType) to HMI in case the app's AppHMIType is received due to policies update is different from app's AppHMIType requested during registration.
  2. HMI updates the app view according to the received HMI type (HMI shows navigation screen)

Actual result:

HMI does not apply the app view according to HMI type value in UI.ChangeRegistration.(HMI still shows media screen)

Note:

HMI applies updated HMI type to the app view only after app reregistration

OS & Version Information:

GetmanetsIrina commented 2 years ago

Please notice this is a non-regression issue. It's also reproduced on release 5.6.0