smartdevicelink / sdl_core

SmartDeviceLink In-Vehicle Software and Sample HMI
BSD 3-Clause "New" or "Revised" License
241 stars 244 forks source link

Revoked app does not receive OnHMIStatus upon registration in EXTERNAL_PROPRIETARY #3579

Closed jacobkeeler closed 3 years ago

jacobkeeler commented 3 years ago

Bug Report

In EXTERNAL_PROPRIETARY policy mode, if an app is revoked, the app does not receive an OnHMIStatus upon registration. Note that this issue does occur in PROPRIETARY mode.

Reproduction Steps
  1. app1 is consented
  2. Connect and register app2, PTU is triggered and new PT revokes permissions for app1
  3. Connect and register app1
Expected Behavior

app1 receives OnHMIStatus(NONE) upon registration

Observed Behavior

app1 does not receive OnHMIStatus

OS & Version Information
Test Case, Sample Code, and / or Example App

https://github.com/smartdevicelink/sdl_atf_test_scripts/blob/master/test_scripts/Defects/5_0/2447_Resumption_revoked_app_still_be_resumed_as_FULL.lua

jacobkeeler commented 3 years ago

Closing with the merge of #3598