mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-11 17:41:57 +01:00
Amazfit Neo: Fix notifications
This commit is contained in:
parent
a234c1d527
commit
1c3398a319
@ -21,12 +21,18 @@ import org.slf4j.LoggerFactory;
|
|||||||
|
|
||||||
import nodomain.freeyourgadget.gadgetbridge.R;
|
import nodomain.freeyourgadget.gadgetbridge.R;
|
||||||
//import nodomain.freeyourgadget.gadgetbridge.devices.huami.amazfitneo.AmazfitBand5FWHelper;
|
//import nodomain.freeyourgadget.gadgetbridge.devices.huami.amazfitneo.AmazfitBand5FWHelper;
|
||||||
|
import nodomain.freeyourgadget.gadgetbridge.model.NotificationSpec;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.service.btle.TransactionBuilder;
|
import nodomain.freeyourgadget.gadgetbridge.service.btle.TransactionBuilder;
|
||||||
import nodomain.freeyourgadget.gadgetbridge.service.devices.huami.miband5.MiBand5Support;
|
import nodomain.freeyourgadget.gadgetbridge.service.devices.huami.miband5.MiBand5Support;
|
||||||
|
|
||||||
public class AmazfitNeoSupport extends MiBand5Support {
|
public class AmazfitNeoSupport extends MiBand5Support {
|
||||||
private static final Logger LOG = LoggerFactory.getLogger(AmazfitNeoSupport.class);
|
private static final Logger LOG = LoggerFactory.getLogger(AmazfitNeoSupport.class);
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onNotification(NotificationSpec notificationSpec) {
|
||||||
|
super.sendNotificationNew(notificationSpec, false);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected AmazfitNeoSupport setDisplayItems(TransactionBuilder builder) {
|
protected AmazfitNeoSupport setDisplayItems(TransactionBuilder builder) {
|
||||||
setDisplayItemsNew(builder, false, false, R.array.pref_neo_display_items_default);
|
setDisplayItemsNew(builder, false, false, R.array.pref_neo_display_items_default);
|
||||||
|
Loading…
Reference in New Issue
Block a user