mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Pebble: on FW 3.x always assume success for installation and do no wait for 2.x packets
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user