mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-04 09:17:29 +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());
|
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]);
|
outBytes.add(cs[j]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user