1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 10:35:50 +01:00

Pebble: on FW 3.x always assume success for installation and do no wait for 2.x packets

This commit is contained in:
Andreas Shimokawa 2015-08-17 12:43:38 +02:00
parent bcf42f8022
commit 0d0b3a87e1

View File

@ -178,6 +178,8 @@ public class PebbleIoThread extends GBDeviceIoThread {
if (mPBWReader.isFirmware()) {
writeInstallApp(mPebbleProtocol.encodeInstallFirmwareComplete());
finishInstall(false);
} else if (mPebbleProtocol.isFw3x) {
finishInstall(false); // FIXME: dont know yet how to detect success
} else {
writeInstallApp(mPebbleProtocol.encodeAppRefresh(mInstallSlot));
}