mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2026-07-31 07:44:24 +02:00
[Huawei] Fix notification length
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ public class SendNotificationRequest extends Request {
|
||||
|
||||
String body = notificationSpec.body;
|
||||
if (body.length() > supportProvider.getHuaweiCoordinator().getContentLength()) {
|
||||
body = notificationSpec.body.substring(0x0, supportProvider.getHuaweiCoordinator().getContentLength() - 0xC);
|
||||
body = notificationSpec.body.substring(0x0, supportProvider.getHuaweiCoordinator().getContentLength() - 0xD);
|
||||
body += "...";
|
||||
}
|
||||
this.packet = new Notifications.NotificationActionRequest(
|
||||
|
||||
Reference in New Issue
Block a user