You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/src/main/java/nie/translator/rtranslator/voice_translation/_conversation_mode/_conversation/ConversationService.java
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -154,7 +154,6 @@ public void onMessageReceived(final Message message) {
Copy file name to clipboardExpand all lines: app/src/main/java/nie/translator/rtranslator/voice_translation/_conversation_mode/communication/ConversationBluetoothCommunicator.java
// if we are the server and the language indication received is the one sent at the beginning of connection (and not after, when the peer updates the language), we respond with our language
194
+
if (source == BluetoothCommunicator.SERVER && firstLoad) {
bluetoothCommunicator.sendMessage(newMessage(global, "l", languageCode + languageCode.length(), receiver)); //this message will be used by the other Peer to load the language resources for our language
327
+
}
328
+
329
+
publicvoidsendLanguage(CustomLocalelang) {
330
+
StringlanguageCode = lang.getCode();
331
+
bluetoothCommunicator.sendMessage(newMessage(global, "l", languageCode + languageCode.length(), null)); //this message will be used by the other Peer to load the language resources for our language
Copy file name to clipboardExpand all lines: app/src/main/java/nie/translator/rtranslator/voice_translation/neural_networks/translation/LanguageResourcesManager.java
Copy file name to clipboardExpand all lines: app/src/main/java/nie/translator/rtranslator/voice_translation/neural_networks/translation/Translator.java
0 commit comments