mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-04 09:17:29 +01:00
BTBR: Fix device update intent subject on connection change
This commit is contained in:
parent
a3c0e10330
commit
7262197a34
@ -232,7 +232,7 @@ public final class BtBRQueue {
|
||||
protected void setDeviceConnectionState(GBDevice.State newState) {
|
||||
LOG.debug("New device connection state: " + newState);
|
||||
mGbDevice.setState(newState);
|
||||
mGbDevice.sendDeviceUpdateIntent(mContext, GBDevice.DeviceUpdateSubject.DEVICE_STATE);
|
||||
mGbDevice.sendDeviceUpdateIntent(mContext, GBDevice.DeviceUpdateSubject.CONNECTION_STATE);
|
||||
}
|
||||
|
||||
public void dispose() {
|
||||
|
Loading…
Reference in New Issue
Block a user