Skip to content

Commit aaee860

Browse files
committed
Fix merge conflicts
# Conflicts: # ffw/UIRPC.js
2 parents e6b8fa7 + 4f36ad4 commit aaee860

7 files changed

Lines changed: 37 additions & 11 deletions

File tree

app/model/sdl/Abstract/AppModel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ SDL.ABSAppModel = Em.Object.extend(
7474
return this.mediaPlayerIndicator ===
7575
SDL.SDLModel.data.mediaPlayerIndicatorEnum.PLAY_PAUSE;
7676
}.property('this.mediaPlayerIndicator'),
77-
bufferingIndicator: function() {
77+
stopIndicator: function() {
7878
return this.mediaPlayerIndicator ===
79-
SDL.SDLModel.data.mediaPlayerIndicatorEnum.BUFFERING ? 'BUFFERING' : null;
79+
SDL.SDLModel.data.mediaPlayerIndicatorEnum.STOP ? 'STOP' : null;
8080
}.property('this.mediaPlayerIndicator'),
8181
/**
8282
* Application's container for current processed requests on HMI

app/model/sdl/Abstract/data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ SDL.SDLModelData = Em.Object.create(
5959
'PLAY_PAUSE': 0,
6060
'PLAY': 1,
6161
'PAUSE': 2,
62-
'BUFFERING': 3
62+
'STOP': 3
6363
},
6464
/**
6565
* Structure specified for PoliceUpdate retry sequence

app/view/info/nonMediaView.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ SDL.InfoNonMedia = Em.ContainerView.create(
9595
],
9696

9797
template: Ember.Handlebars.compile(
98-
'<img width="150px" {{bindAttr src="SDL.SDLController.model.appInfo.mainImage"}}>'
98+
'<img width="150px" onerror="this.style.display=\'none\'" {{bindAttr src="SDL.SDLController.model.appInfo.mainImage"}}>'
9999
)
100100
}
101101
),
@@ -113,7 +113,7 @@ SDL.InfoNonMedia = Em.ContainerView.create(
113113

114114
field1: SDL.Label.extend(
115115
{
116-
contentBinding: 'controller.model.appInfo.field1',
116+
contentBinding: 'SDL.SDLController.model.appInfo.field1',
117117
attributeBindings: ['style'],
118118
style: function() {
119119
if (SDL.SDLController.model) {
@@ -127,7 +127,7 @@ SDL.InfoNonMedia = Em.ContainerView.create(
127127

128128
field2: SDL.Label.extend(
129129
{
130-
contentBinding: 'controller.model.appInfo.field2',
130+
contentBinding: 'SDL.SDLController.model.appInfo.field2',
131131
attributeBindings: ['style'],
132132
style: function() {
133133
if (SDL.SDLController.model) {
@@ -141,13 +141,13 @@ SDL.InfoNonMedia = Em.ContainerView.create(
141141

142142
field3: SDL.Label.extend(
143143
{
144-
contentBinding: 'controller.model.appInfo.field3'
144+
contentBinding: 'SDL.SDLController.model.appInfo.field3'
145145
}
146146
),
147147

148148
field4: SDL.Label.extend(
149149
{
150-
contentBinding: 'controller.model.appInfo.field4'
150+
contentBinding: 'SDL.SDLController.model.appInfo.field4'
151151
}
152152
)
153153

app/view/media/sdl/controllsView.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ SDL.SDLMediaControlls = Em.ContainerView.create(
5656
'<div class="album textLimit" {{bindAttr style="SDL.SDLController.model.appInfo.alignment"}}>{{SDL.SDLController.model.appInfo.field2}}</div>' +
5757
'<div class="artist textLimit"{{bindAttr class="SDL.SDLController.model.mediaPreset:hidden"}}>{{SDL.SDLController.model.appInfo.field3}}</div>' +
5858
'<div class="time"{{bindAttr class="SDL.SDLController.model.mediaPreset:timeV2"}}>{{SDL.SDLController.model.appInfo.mediaClock}}</div>' +
59-
'<img class="cd_logo" {{bindAttr class="SDL.SDLController.model.mediaPreset:cd_logoV2"}} {{bindAttr class="SDL.SDLController.model.mode"}} {{bindAttr class="SDL.SDLController.model.isTemplate"}}/>' +
60-
'<img class="cd_logo" {{bindAttr src="SDL.SDLController.model.appInfo.trackIcon" class="SDL.SDLController.model.mediaPreset:cd_logoV2"}} />' +
59+
'<img class="cd_logo" onerror="this.style.display=\'none\'" {{bindAttr class="SDL.SDLController.model.mediaPreset:cd_logoV2"}} {{bindAttr class="SDL.SDLController.model.mode"}} {{bindAttr class="SDL.SDLController.model.isTemplate"}}/>' +
60+
'<img class="cd_logo" onerror="this.style.display=\'none\'" {{bindAttr src="SDL.SDLController.model.appInfo.trackIcon" class="SDL.SDLController.model.mediaPreset:cd_logoV2"}} />' +
6161
'</div>' + '{{/with}}'
6262
)
6363
}
@@ -94,7 +94,7 @@ SDL.SDLMediaControlls = Em.ContainerView.create(
9494
],
9595
//classNameBindings: 'SDL.SDLController.model.PLAY_PAUSE::unsubscribed',
9696
presetName: 'PLAY_PAUSE',
97-
textBinding: 'SDL.SDLController.model.bufferingIndicator',
97+
textBinding: 'SDL.SDLController.model.stopIndicator',
9898
actionUp: function() {
9999
SDL.SDLController.onSoftButtonOkActionUp(this.presetName);
100100
},

capabilities/display_capabilities.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ SDL.templateCapabilities = {
22
"MEDIA": {
33
"displayCapabilities": {
44
"displayType": "GEN2_8_DMA",
5+
"displayName": "SDL_HMI",
56
"textFields": [{
67
"name": "mainField1",
78
"characterSet": "TYPE2SET",
@@ -442,6 +443,7 @@ SDL.templateCapabilities = {
442443
"ONSCREEN_PRESETS": {
443444
"displayCapabilities": {
444445
"displayType": "GEN2_8_DMA",
446+
"displayName": "SDL_HMI",
445447
"textFields": [{
446448
"name": "mainField1",
447449
"characterSet": "TYPE2SET",
@@ -877,6 +879,7 @@ SDL.templateCapabilities = {
877879
"NON-MEDIA": {
878880
"displayCapabilities": {
879881
"displayType": "GEN2_8_DMA",
882+
"displayName": "SDL_HMI",
880883
"textFields": [{
881884
"name": "mainField1",
882885
"characterSet": "TYPE2SET",
@@ -1324,6 +1327,7 @@ SDL.templateCapabilities = {
13241327
"NAV_FULLSCREEN_MAP": {
13251328
"displayCapabilities": {
13261329
"displayType": "GEN2_8_DMA",
1330+
"displayName": "SDL_HMI",
13271331
"textFields": [{
13281332
"name": "mainField1",
13291333
"characterSet": "TYPE2SET",

capabilities/rc_capabilities.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,24 @@ SDL.remoteControlCapability =
133133
keepContextAvailable: true,
134134
equalizerMaxChannelId: 10
135135
}],
136+
seatControlCapabilities: [{
137+
moduleName: "Seat",
138+
heatingEnabledAvailable: true,
139+
coolingEnabledAvailable: true,
140+
heatingLevelAvailable: true,
141+
coolingLevelAvailable: true,
142+
horizontalPositionAvailable: true,
143+
verticalPositionAvailable: true,
144+
frontVerticalPositionAvailable: true,
145+
backVerticalPositionAvailable: true,
146+
backTiltAngleAvailable: true,
147+
headSupportHorizontalPositionAvailable: true,
148+
headSupportVerticalPositionAvailable: true,
149+
massageEnabledAvailable: true,
150+
massageModeAvailable: true,
151+
massageCushionFirmnessAvailable: true,
152+
memoryAvailable: true
153+
}],
136154
lightControlCapabilities: {
137155
moduleName: 'light',
138156
supportedLights: [{

ffw/UIRPC.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,9 @@ FFW.UI = FFW.RPCObserver.create(
296296
if(request.params.enableSeek) {
297297
this.OnSeekMediaClockTimer(request.params.startTime, request.params.appID);
298298
}
299+
if(request.params.audioStreamingIndicator) {
300+
SDL.SDLController.SetAudioStreamingIndicator(request.params)
301+
}
299302
this.sendUIResult(resultCode, request.id, request.method);
300303
} else {
301304
this.sendError(
@@ -489,6 +492,7 @@ FFW.UI = FFW.RPCObserver.create(
489492
'result': {
490493
'displayCapabilities': {
491494
'displayType': 'GEN2_8_DMA',
495+
'displayName': 'SDL_HMI',
492496
'textFields': [
493497
{
494498
'name': 'mainField1',

0 commit comments

Comments
 (0)