1
0
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:
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() {