mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-28 11:35:48 +01:00
Merge branch 'hplus-unicode-only-first-bytes'
This commit is contained in:
commit
7947d94418
@ -840,7 +840,9 @@ public class HPlusSupport extends AbstractBTLEDeviceSupport {
|
||||
LOG.error("Could not convert String to Bytes: " + e.getMessage());
|
||||
}
|
||||
}
|
||||
for (int j = 0; j < cs.length; j++)
|
||||
|
||||
final int j0 = (unicode && i != 0) ? 2 : 0;
|
||||
for (int j = j0; j < cs.length; j++)
|
||||
outBytes.add(cs[j]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user