Pebble: fix for previous commit

(potential crashes when installing and receiving notifications)
This commit is contained in:
Andreas Shimokawa 2016-12-17 00:17:05 +01:00
parent 321298e08a
commit 97aed43518
1 changed files with 1 additions and 1 deletions

View File

@ -595,7 +595,7 @@ class PebbleIoThread extends GBDeviceIoThread {
}
}
private void writeInstallApp(byte[] bytes) {
synchronized private void writeInstallApp(byte[] bytes) {
if (!mIsInstalling) {
return;
}