Amazfit Bip: Fix call notification with unknown caller

This commit is contained in:
Andreas Shimokawa
2017-09-03 14:37:32 +02:00
parent 45263d08d5
commit cfc310692f
2 changed files with 2 additions and 1 deletions
@@ -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);
}
}