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
1 changed files with 2 additions and 0 deletions

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));
}