diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/services/XiaomiSystemService.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/services/XiaomiSystemService.java index 3ea55b071..f63ba8f52 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/services/XiaomiSystemService.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/xiaomi/services/XiaomiSystemService.java @@ -171,8 +171,8 @@ public class XiaomiSystemService extends AbstractXiaomiService implements Xiaomi LOG.debug("Got camera remote set ack, status={}", cmd.getStatus()); return; case CMD_FIND_PHONE: - LOG.debug("Got find phone: {}", cmd.getSystem().getFindDevice()); if (cmd.hasSystem()) { + LOG.debug("Got find phone: {}", cmd.getSystem().getFindDevice()); final GBDeviceEventFindPhone findPhoneEvent = new GBDeviceEventFindPhone(); if (cmd.getSystem().getFindDevice() == 0) { findPhoneEvent.event = GBDeviceEventFindPhone.Event.START;