mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +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
+2
-1
@@ -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