mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-27 11:05:49 +01:00
Fossil HR: minor optimizations
This commit is contained in:
parent
b34e74494d
commit
c75362c5ea
@ -389,14 +389,16 @@ public class FossilHRWatchAdapter extends FossilWatchAdapter {
|
||||
widgetImages.add(this.backGroundImage);
|
||||
}
|
||||
|
||||
AssetImage[] images = widgetImages.toArray(new AssetImage[0]);
|
||||
|
||||
queueWrite(new AssetFilePutRequest(
|
||||
widgetImages.toArray(new AssetImage[0]),
|
||||
images,
|
||||
(byte) 0x00,
|
||||
this
|
||||
));
|
||||
// queueWrite(new FileDeleteRequest((short) 0x0503));
|
||||
queueWrite(new ImagesSetRequest(
|
||||
widgetImages.toArray(new AssetImage[0]),
|
||||
images,
|
||||
this
|
||||
));
|
||||
} catch (IOException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user