1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-27 12:26:48 +01:00

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

View File

@ -80,7 +80,7 @@ public class AmazfitBipSupport extends MiBand2Support {
try { try {
TransactionBuilder builder = performInitialized("new notification"); TransactionBuilder builder = performInitialized("new notification");
AlertNotificationProfile<?> profile = new AlertNotificationProfile(this); 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); int customIconId = AmazfitBipIcon.mapToIconId(notificationSpec.type);

View File

@ -2,6 +2,7 @@
<changelog> <changelog>
<release version="0.21.1" versioncode="102"> <release version="0.21.1" versioncode="102">
<change>Initial support for EXRIZU K8 (HPLus variant)</change> <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>Mi Band 2: Support multiple button actions</change>
<change>NO.1 F1: Fetch sleep data</change> <change>NO.1 F1: Fetch sleep data</change>
<change>NO.1 F1: Heart rate support</change> <change>NO.1 F1: Heart rate support</change>

View File

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