1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-03 11:33:19 +02:00

BTBR: Fix device update intent subject on connection change

This commit is contained in:
José Rebelo 2023-06-13 22:37:35 +01:00
parent a3c0e10330
commit 7262197a34

View File

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