-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ActivateAppRevokedPermissions digram (#259)
* update png diagram file, add txt file * Update docs/SDL/ActivateApp/assets/ActivateAppRevokedPermissions.txt Co-authored-by: Collin <iCollin@users.noreply.github.com> Co-authored-by: Iryna Lytvynenko (GitHub) <ILytvynenko@luxoft.com> Co-authored-by: Collin <iCollin@users.noreply.github.com>
- Loading branch information
1 parent
dce1a34
commit edd1199
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
Binary file modified
BIN
+20.8 KB
(140%)
docs/SDL/ActivateApp/assets/ActivateAppRevokedPermissions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions
30
docs/SDL/ActivateApp/assets/ActivateAppRevokedPermissions.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
participant SDL | ||
|
||
participant HMI | ||
|
||
note over HMI: <align:center>appID_1 app is registered and is\npresent in the 'List of registered\napps' on HMI</align> | ||
|
||
note over HMI: <align:center>The User chooses to activate appID_1\napp (manually or by voice)</align> | ||
|
||
SDL<-HMI: SDL.ActiveApp{appID_1} | ||
|
||
|
||
note over SDL: <align:center>PT stores the device\nas consented</align> | ||
|
||
note over SDL: <align:center>PT Update comes ->\nappID_1 gets NULL\npermissions</align> | ||
|
||
SDL-->HMI:<align:center> SDL.ActiveApp\n{code:4, isSDLAllowed:true, isAppRevoked:true} | ||
|
||
note over HMI: <align:center>Do NOT activate the\nappID_1 app</align> | ||
|
||
SDL<-HMI: <align:center> SDL.GetUserFriendlyMessage\n{messageCodes: "AppUnauthorized", params} | ||
|
||
note over SDL: <align:center>Takes the information\nfrom PT</align> | ||
|
||
SDL-->HMI: SDL.GetUserFriendlyMessage {params} | ||
|
||
note over SDL:<align:center>SDL will never allow the\n appID_1 (WEB_VIEW) app\n that has NULL permissions\nto register afterwards</align> | ||
|
||
note over HMI:<align:center>Display the popup\nwith "AppUnauthorized"\nmessage</align> | ||
|
||
note over SDL:<align:center> Apps with other AppHMIType can be registered,\nbut are not allowed to be activated |