mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-25 11:26:47 +01:00
Pebble: Do not reboot after language file installation (does not seem to be necessary)
NOTE: This still does not work since crc calculation is missing
This commit is contained in:
parent
5860c4f4f9
commit
cd7acf6572
@ -281,16 +281,11 @@ 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) {
|
} else if (mPBWReader.isLanguage() || mPebbleProtocol.isFw3x) {
|
||||||
finishInstall(false); // FIXME: dont know yet how to detect success
|
finishInstall(false); // FIXME: dont know yet how to detect success
|
||||||
} else {
|
|
||||||
if (mPBWReader.isLanguage()) {
|
|
||||||
finishInstall(false);
|
|
||||||
write(mPebbleProtocol.encodeReboot());
|
|
||||||
} else {
|
} else {
|
||||||
writeInstallApp(mPebbleProtocol.encodeAppRefresh(mInstallSlot));
|
writeInstallApp(mPebbleProtocol.encodeAppRefresh(mInstallSlot));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user