mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-08-25 16:50:44 +02:00
Mi Band 8: Fix notification icons mirroring
This commit is contained in:
parent
3948f95505
commit
8192106fc0
@ -329,7 +329,8 @@ public class XiaomiNotificationService extends AbstractXiaomiService implements
|
||||
final ByteBuffer buf = ByteBuffer.allocate(size * size * 4).order(ByteOrder.LITTLE_ENDIAN);
|
||||
for (int x = 0; x < size; x++) {
|
||||
for (int y = 0; y < size; y++) {
|
||||
buf.putInt(bmpResized.getPixel(x, y));
|
||||
//noinspection SuspiciousNameCombination x and y are flipped on purpose
|
||||
buf.putInt(bmpResized.getPixel(y, x));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user