mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-03-12 17:20:21 +01:00
Fix app crash when switching between Android user profiles
This commit is contained in:
parent
c065c6e061
commit
0fc1c7b2b6
@ -130,6 +130,9 @@ public final class BtBRQueue {
|
||||
} catch (IOException e) {
|
||||
LOG.error("IO exception while establishing socket connection: ", e);
|
||||
setDeviceConnectionState(GBDevice.State.NOT_CONNECTED);
|
||||
} catch (SecurityException e) {
|
||||
LOG.error("Security exception while establishing socket connection: ", e);
|
||||
setDeviceConnectionState(GBDevice.State.NOT_CONNECTED);
|
||||
}
|
||||
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user