mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
Fossil Hybrid: added "decline call" notification flag
This commit is contained in:
@@ -9,7 +9,7 @@ public class PlayCallNotificationRequest extends PlayNotificationRequest {
|
||||
private final static int MESSAGE_ID_CALL = 1;
|
||||
|
||||
public PlayCallNotificationRequest(String number, boolean callStart, FossilWatchAdapter adapter) {
|
||||
super(callStart ? 1 : 7, callStart ? 8 : 2,
|
||||
super(callStart ? 1 : 7, callStart ? 0b00011000 : 2,
|
||||
ByteBuffer.wrap(new byte[]{(byte) 0x80, (byte) 0x00, (byte) 0x59, (byte) 0xB7}).order(ByteOrder.LITTLE_ENDIAN).getInt(),
|
||||
number, "Incoming Call", MESSAGE_ID_CALL, adapter);
|
||||
}
|
||||
|
Reference in New Issue
Block a user