Fix for send message from debug screen

here
ivanovlev 2017-01-14 23:01:44 +03:00
parent c873312831
commit b9249065eb
1 changed files with 5 additions and 0 deletions

View File

@ -785,7 +785,12 @@ public class HPlusSupport extends AbstractBTLEDeviceSupport {
//replace unsupported symbols to english analog
private String transliterate(String txt){
if (txt == null || txt.isEmpty()) {
return txt;
}
StringBuilder message = new StringBuilder();
char[] chars = txt.toCharArray();
for (char c : chars)