mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-08 15:35:24 +02:00
Fixed a few misspells and extended my name.
This commit is contained in:
parent
cf0a799d7c
commit
6be7ee4a96
@ -24,7 +24,7 @@ import nodomain.freeyourgadget.gadgetbridge.entities.DaoMaster;
|
||||
import nodomain.freeyourgadget.gadgetbridge.entities.DaoSession;
|
||||
|
||||
/**
|
||||
* Provides lowlevel access to the database.
|
||||
* Provides low-level access to the database.
|
||||
*/
|
||||
public class LockHandler implements DBHandler {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* Copyright (C) 2015-2018 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||
Gobbetti, Frank Slezak, Hasan Ammar, Julien Pivotto, Kevin Richter, Normano64,
|
||||
Steffen Liebergeld, TaaviE, Zhong Jianxin
|
||||
Steffen Liebergeld, Taavi Eomäe, Zhong Jianxin
|
||||
|
||||
This file is part of Gadgetbridge.
|
||||
|
||||
|
@ -326,7 +326,7 @@ public class GBDevice implements Parcelable {
|
||||
|
||||
public void setRssi(short rssi) {
|
||||
if (rssi < 0) {
|
||||
LOG.warn("illegal rssi value " + rssi + ", setting to RSSI_UNKNOWN");
|
||||
LOG.warn("Illegal RSSI value " + rssi + ", setting to RSSI_UNKNOWN");
|
||||
mRssi = RSSI_UNKNOWN;
|
||||
} else {
|
||||
mRssi = rssi;
|
||||
@ -450,7 +450,7 @@ public class GBDevice implements Parcelable {
|
||||
result.add(new GenericItem(DEVINFO_FW_VER, mFirmwareVersion));
|
||||
}
|
||||
if (mFirmwareVersion2 != null) {
|
||||
// FIXME: thats ugly
|
||||
// FIXME: This is ugly
|
||||
if (mDeviceType == DeviceType.AMAZFITBIP) {
|
||||
result.add(new GenericItem(DEVINFO_GPS_VER, mFirmwareVersion2));
|
||||
} else {
|
||||
|
@ -227,13 +227,13 @@ public abstract class AbstractDeviceSupport implements DeviceSupport {
|
||||
private void handleGBDeviceEvent(GBDeviceEventSleepMonitorResult sleepMonitorResult) {
|
||||
Context context = getContext();
|
||||
LOG.info("Got event for SLEEP_MONIOR_RES");
|
||||
Intent sleepMontiorIntent = new Intent(ChartsHost.REFRESH);
|
||||
sleepMontiorIntent.putExtra("smartalarm_from", sleepMonitorResult.smartalarm_from);
|
||||
sleepMontiorIntent.putExtra("smartalarm_to", sleepMonitorResult.smartalarm_to);
|
||||
sleepMontiorIntent.putExtra("recording_base_timestamp", sleepMonitorResult.recording_base_timestamp);
|
||||
sleepMontiorIntent.putExtra("alarm_gone_off", sleepMonitorResult.alarm_gone_off);
|
||||
Intent sleepMonitorIntent = new Intent(ChartsHost.REFRESH);
|
||||
sleepMonitorIntent.putExtra("smartalarm_from", sleepMonitorResult.smartalarm_from);
|
||||
sleepMonitorIntent.putExtra("smartalarm_to", sleepMonitorResult.smartalarm_to);
|
||||
sleepMonitorIntent.putExtra("recording_base_timestamp", sleepMonitorResult.recording_base_timestamp);
|
||||
sleepMonitorIntent.putExtra("alarm_gone_off", sleepMonitorResult.alarm_gone_off);
|
||||
|
||||
LocalBroadcastManager.getInstance(context).sendBroadcast(sleepMontiorIntent);
|
||||
LocalBroadcastManager.getInstance(context).sendBroadcast(sleepMonitorIntent);
|
||||
}
|
||||
|
||||
private void handleGBDeviceEvent(GBDeviceEventScreenshot screenshot) {
|
||||
@ -300,10 +300,10 @@ public abstract class AbstractDeviceSupport implements DeviceSupport {
|
||||
deviceEvent.phoneNumber = (String) GBApplication.getIDSenderLookup().lookup(deviceEvent.handle);
|
||||
}
|
||||
if (deviceEvent.phoneNumber != null) {
|
||||
LOG.info("got notfication reply for SMS from " + deviceEvent.phoneNumber + " : " + deviceEvent.reply);
|
||||
LOG.info("Got notification reply for SMS from " + deviceEvent.phoneNumber + " : " + deviceEvent.reply);
|
||||
SmsManager.getDefault().sendTextMessage(deviceEvent.phoneNumber, null, deviceEvent.reply, null, null);
|
||||
} else {
|
||||
LOG.info("got notfication reply for notification id " + deviceEvent.handle + " : " + deviceEvent.reply);
|
||||
LOG.info("Got notification reply for notification id " + deviceEvent.handle + " : " + deviceEvent.reply);
|
||||
action = NotificationListener.ACTION_REPLY;
|
||||
}
|
||||
break;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Copyright (C) 2015-2018 Andreas Shimokawa, Carsten Pfeiffer, Daniele
|
||||
Gobbetti, Felix Konstantin Maurer, TaaviE, Uwe Hermann, Yar
|
||||
Gobbetti, Felix Konstantin Maurer, Taavi Eomäe, Uwe Hermann, Yar
|
||||
|
||||
This file is part of Gadgetbridge.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user