mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02: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:
@@ -281,15 +281,10 @@ public class PebbleIoThread extends GBDeviceIoThread {
|
||||
if (mPBWReader.isFirmware()) {
|
||||
writeInstallApp(mPebbleProtocol.encodeInstallFirmwareComplete());
|
||||
finishInstall(false);
|
||||
} else if (mPebbleProtocol.isFw3x) {
|
||||
} else if (mPBWReader.isLanguage() || mPebbleProtocol.isFw3x) {
|
||||
finishInstall(false); // FIXME: dont know yet how to detect success
|
||||
} else {
|
||||
if (mPBWReader.isLanguage()) {
|
||||
finishInstall(false);
|
||||
write(mPebbleProtocol.encodeReboot());
|
||||
} else {
|
||||
writeInstallApp(mPebbleProtocol.encodeAppRefresh(mInstallSlot));
|
||||
}
|
||||
writeInstallApp(mPebbleProtocol.encodeAppRefresh(mInstallSlot));
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user