Pebble: on FW 3.x always assume success for installation and do no wait for 2.x packets
This commit is contained in:
parent
bcf42f8022
commit
0d0b3a87e1
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue