mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
huawei: Honor Watch 4 workaround for GetNotificationConstraintsRequest
* Watch stop responging after getting this request, so disable it for now
This commit is contained in:
committed by
José Rebelo
parent
f354941bb6
commit
4b2c1089a9
@@ -39,7 +39,8 @@ public class GetNotificationConstraintsRequest extends Request {
|
||||
@Override
|
||||
protected boolean requestSupported() {
|
||||
return supportProvider.getHuaweiCoordinator().supportsNotificationAlert() && supportProvider.getProtocolVersion() == 2
|
||||
&& supportProvider.getCoordinator().getDeviceType() != DeviceType.HUAWEIBANDAW70; // Bit of a workaround, there is probably some capabilities this actually depends on
|
||||
&& supportProvider.getCoordinator().getDeviceType() != DeviceType.HUAWEIBANDAW70
|
||||
&& supportProvider.getCoordinator().getDeviceType() != DeviceType.HONORWATCH4; // Bit of a workaround, there is probably some capabilities this actually depends on
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user