mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Pebble: fix App installation
This commit is contained in:
@@ -325,7 +325,7 @@ public class PebbleIoThread extends GBDeviceIoThread {
|
||||
@Override
|
||||
synchronized public void write(byte[] bytes) {
|
||||
// block writes if app installation in in progress
|
||||
if (mIsConnected && !mIsInstalling) {
|
||||
if (mIsConnected && (!mIsInstalling || mInstallState == PebbleAppInstallState.APP_WAIT_SLOT)) {
|
||||
try {
|
||||
mOutStream.write(bytes);
|
||||
mOutStream.flush();
|
||||
|
Reference in New Issue
Block a user