Amazfit Bip: Fix call notification with unknown caller

master
Andreas Shimokawa 2017-09-03 14:37:32 +02:00
parent 45263d08d5
commit cfc310692f
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
* Initial NO.1 F1 support
* Amazfit Bip: Display GPS firmware version
* Amazfit Bip: Fix E-Mail notifications
* Amazfit Bip: Fix call notification with unknown caller
* Pebble: Fix crash when takeing screenshots on Android 8.0 (Oreo)
* Pebble: Support some google app icons
* Pebble: try to support spotify

View File

@ -40,7 +40,7 @@ class AmazfitBipTextNotificationStrategy extends Mi2TextNotificationStrategy {
@Override
protected void sendCustomNotification(VibrationProfile vibrationProfile, SimpleNotification simpleNotification, BtLEAction extraAction, TransactionBuilder builder) {
if (simpleNotification != null && !StringUtils.isEmpty(simpleNotification.getMessage())) {
if (simpleNotification != null) {
sendAlert(simpleNotification, builder);
}
}