Pebble: fix App installation

This commit is contained in:
Andreas Shimokawa 2015-05-18 23:14:32 +02:00
parent 50c7206cf6
commit 1c5d6de3ad
1 changed files with 1 additions and 1 deletions

View File

@ -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();