mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 09:01:55 +01:00
Pebble: Fix regression which freezes Gadgetbridge when disconnecting via long-press menu
This commit is contained in:
parent
d358ed81d2
commit
50cd5b2629
@ -1,6 +1,9 @@
|
||||
###Changelog
|
||||
|
||||
####Next Version
|
||||
*Pebble: Fix regression which freezes Gadgetbridge when disconnecting via long-press menu
|
||||
|
||||
####Version 0.7.0
|
||||
* Read upcoming events (up to 7 days in the future). Requires READ_CALENDAR permission
|
||||
* Fix double SMS on Sony Android and Android 6.0
|
||||
* Pebble: Support replying to SMS form the watch (canned replies)
|
||||
|
@ -367,7 +367,7 @@ public class PebbleIoThread extends GBDeviceIoThread {
|
||||
mIsConnected = connect(gbDevice.getAddress());
|
||||
}
|
||||
}
|
||||
if (!mIsConnected) {
|
||||
if (!mIsConnected && !mQuit) {
|
||||
try {
|
||||
gbDevice.setState(GBDevice.State.WAITING_FOR_RECONNECT);
|
||||
gbDevice.sendDeviceUpdateIntent(getContext());
|
||||
|
Loading…
Reference in New Issue
Block a user