1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-27 19:15: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()) { if (mPBWReader.isFirmware()) {
writeInstallApp(mPebbleProtocol.encodeInstallFirmwareComplete()); writeInstallApp(mPebbleProtocol.encodeInstallFirmwareComplete());
finishInstall(false); finishInstall(false);
} else if (mPebbleProtocol.isFw3x) {
finishInstall(false); // FIXME: dont know yet how to detect success
} else { } else {
writeInstallApp(mPebbleProtocol.encodeAppRefresh(mInstallSlot)); writeInstallApp(mPebbleProtocol.encodeAppRefresh(mInstallSlot));
} }