summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/HMI/ffw/BasicCommunicationRPC.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/components/HMI/ffw/BasicCommunicationRPC.js b/src/components/HMI/ffw/BasicCommunicationRPC.js
index 157fc8c328..9614c125c4 100644
--- a/src/components/HMI/ffw/BasicCommunicationRPC.js
+++ b/src/components/HMI/ffw/BasicCommunicationRPC.js
@@ -316,6 +316,24 @@ FFW.BasicCommunication = FFW.RPCObserver
if (notification.method == this.onStatusUpdateNotification) {
SDL.TTSPopUp.ActivateTTS(notification.params.status);
+
+ var messageCode = '';
+ switch(notification.params.status){
+ case "UP_TO_DATE":{
+ messageCode = "StatusUpToDate";
+ break;
+ }
+ case "UPDATING":{
+ messageCode = "StatusPending";
+ break;
+ }
+ case "UPDATE_NEEDED":{
+ messageCode = "StatusNeeded";
+ break;
+ }
+ }
+
+ FFW.BasicCommunication.GetUserFriendlyMessage(SDL.SettingsController.simpleParseUserFriendlyMessageData, SDL.SDLAppController.model?SDL.SDLAppController.model.appID:null, [messageCode]);
}
if (notification.method == this.onAppPermissionChangedNotification) {