Amazfit Bip: fix long messages not being displayed at all

This commit is contained in:
Andreas Shimokawa 2017-09-11 23:18:07 +02:00
parent b87d9d649d
commit acf779a8e4
4 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,7 @@
#### Version 0.21.1
* Initial support for EXRIZU K8 (HPLus variant)
* Amazfit Bip: fix long messages not being displayed at all
* Mi Band 2: Support multiple button actions
* NO.1 F1: Fetch sleep data
* NO.1 F1: Heart rate support

View File

@ -80,7 +80,7 @@ public class AmazfitBipSupport extends MiBand2Support {
try {
TransactionBuilder builder = performInitialized("new notification");
AlertNotificationProfile<?> profile = new AlertNotificationProfile(this);
profile.setMaxLength(255); // TODO: find out real limit, certainly it is more than 18 which is default
profile.setMaxLength(230);
int customIconId = AmazfitBipIcon.mapToIconId(notificationSpec.type);

View File

@ -2,6 +2,7 @@
<changelog>
<release version="0.21.1" versioncode="102">
<change>Initial support for EXRIZU K8 (HPLus variant)</change>
<change>Amazfit Bip: fix long messages not being displayed at all</change>
<change>Mi Band 2: Support multiple button actions</change>
<change>NO.1 F1: Fetch sleep data</change>
<change>NO.1 F1: Heart rate support</change>

View File

@ -1,4 +1,5 @@
* Initial support for EXRIZU K8 (HPLus variant)
* Amazfit Bip: fix long messages not being displayed at all
* Mi Band 2: Support multiple button actions
* NO.1 F1: Fetch sleep data
* NO.1 F1: Heart rate support