mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
Huawei: check step-by-step direction availability by version query
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@ public class HuaweiP2PDirection extends HuaweiBaseP2PService {
|
||||
}
|
||||
|
||||
private void checkAvailability() {
|
||||
sendPing((code, data) -> manager.getSupportProvider().getCoordinator().getHuaweiCoordinator().setNavigationAvailability(code == 0xca || code == 0xc9));
|
||||
sendCommand4( null, (version, data) -> manager.getSupportProvider().getCoordinator().getHuaweiCoordinator().setNavigationAvailability(version != -1));
|
||||
}
|
||||
|
||||
public void startNavigation() {
|
||||
|
||||
Reference in New Issue
Block a user