mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-25 03:16:51 +01:00
ID115: remove useless debug messages
This commit is contained in:
parent
65fbb4da5b
commit
b6bd100f28
@ -309,7 +309,6 @@ public class ID115Support extends AbstractBTLEDeviceSupport {
|
|||||||
ID115Support setWrist(TransactionBuilder builder) {
|
ID115Support setWrist(TransactionBuilder builder) {
|
||||||
String value = GBApplication.getPrefs().getString(ID115Constants.PREF_WRIST,
|
String value = GBApplication.getPrefs().getString(ID115Constants.PREF_WRIST,
|
||||||
"left");
|
"left");
|
||||||
LOG.warn("wrist value: '" + value + "'");
|
|
||||||
|
|
||||||
byte wrist;
|
byte wrist;
|
||||||
if (value.equals("left")) {
|
if (value.equals("left")) {
|
||||||
@ -318,7 +317,6 @@ public class ID115Support extends AbstractBTLEDeviceSupport {
|
|||||||
wrist = ID115Constants.CMD_ARG_RIGHT;
|
wrist = ID115Constants.CMD_ARG_RIGHT;
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG.warn("Wrist: " + wrist);
|
|
||||||
builder.write(normalWriteCharacteristic, new byte[] {
|
builder.write(normalWriteCharacteristic, new byte[] {
|
||||||
ID115Constants.CMD_ID_SETTINGS, ID115Constants.CMD_KEY_SET_HAND,
|
ID115Constants.CMD_ID_SETTINGS, ID115Constants.CMD_KEY_SET_HAND,
|
||||||
wrist
|
wrist
|
||||||
@ -329,7 +327,6 @@ public class ID115Support extends AbstractBTLEDeviceSupport {
|
|||||||
ID115Support setScreenOrientation(TransactionBuilder builder) {
|
ID115Support setScreenOrientation(TransactionBuilder builder) {
|
||||||
String value = GBApplication.getPrefs().getString(ID115Constants.PREF_SCREEN_ORIENTATION,
|
String value = GBApplication.getPrefs().getString(ID115Constants.PREF_SCREEN_ORIENTATION,
|
||||||
"horizontal");
|
"horizontal");
|
||||||
LOG.warn("value: '" + value + "'");
|
|
||||||
|
|
||||||
byte orientation;
|
byte orientation;
|
||||||
if (value.equals("horizontal")) {
|
if (value.equals("horizontal")) {
|
||||||
@ -338,7 +335,6 @@ public class ID115Support extends AbstractBTLEDeviceSupport {
|
|||||||
orientation = ID115Constants.CMD_ARG_VERTICAL;
|
orientation = ID115Constants.CMD_ARG_VERTICAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG.warn("Screen orientation: " + orientation);
|
|
||||||
builder.write(normalWriteCharacteristic, new byte[] {
|
builder.write(normalWriteCharacteristic, new byte[] {
|
||||||
ID115Constants.CMD_ID_SETTINGS, ID115Constants.CMD_KEY_SET_DISPLAY_MODE,
|
ID115Constants.CMD_ID_SETTINGS, ID115Constants.CMD_KEY_SET_DISPLAY_MODE,
|
||||||
orientation
|
orientation
|
||||||
|
Loading…
Reference in New Issue
Block a user