Skip to content

Commit 04f935f

Browse files
author
hannianqiao
committed
fix problem in third review
1 parent 9fe10b7 commit 04f935f

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

android/hello_sdl_android/src/main/java/com/sdl/hellosdlandroid/SdlService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public LifecycleConfigurationUpdate managerShouldUpdateLifecycle(Language langua
232232
break;
233233
}
234234
if (isNeedUpdate) {
235-
return new LifecycleConfigurationUpdate(appName, null, TTSChunkFactory.createSimpleTTSChunks(ttsName), null);
235+
return new LifecycleConfigurationUpdate(appName,null,TTSChunkFactory.createSimpleTTSChunks(appName), null);
236236
} else {
237237
return null;
238238
}

android/sdl_android/src/main/java/com/smartdevicelink/managers/SdlManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,8 +686,8 @@ public void onTransportEvent(List<TransportRecord> connectedTransports, boolean
686686
}
687687
}
688688

689-
proxy = new SdlProxyBase(proxyBridge, context, appName, shortAppName, isMediaApp, language,
690-
language, hmiTypes, appId, transport, vrSynonyms, ttsChunks, dayColorScheme,
689+
proxy = new SdlProxyBase(proxyBridge, context, appName, shortAppName, isMediaApp, hmiLanguage,
690+
hmiLanguage, hmiTypes, appId, transport, vrSynonyms, ttsChunks, dayColorScheme,
691691
nightColorScheme) {};
692692
proxy.setMinimumProtocolVersion(minimumProtocolVersion);
693693
proxy.setMinimumRPCVersion(minimumRPCVersion);

hello_sdl_java/src/main/java/com/smartdevicelink/java/SdlService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public LifecycleConfigurationUpdate managerShouldUpdateLifecycle(Language langua
172172
break;
173173
}
174174
if (isNeedUpdate) {
175-
return new LifecycleConfigurationUpdate(appName, null, TTSChunkFactory.createSimpleTTSChunks(ttsName), null);
175+
return new LifecycleConfigurationUpdate(appName,null,TTSChunkFactory.createSimpleTTSChunks(appName), null);
176176
} else {
177177
return null;
178178
}

0 commit comments

Comments
 (0)