Disable extensive logging

master
sh123 2022-09-03 17:22:28 +03:00
rodzic 20aab8d253
commit 024697ff04
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -97,7 +97,7 @@ public class StationItem {
public void updateFrom(StationItem stationItem) {
setTimestampEpoch(stationItem.getTimestampEpoch());
setDstCallsign(stationItem.getDstCallsign());
// position item has maidenhead
// update position if known
if (stationItem.getMaidenHead() != null) {
setMaidenHead(stationItem.getMaidenHead());
setLatitude(stationItem.getLatitude());

Wyświetl plik

@ -30,7 +30,7 @@ public class StationItemRepository {
if (oldStationItem == null) {
try {
_stationItemDao.insertStationItem(stationItem);
Log.i(TAG, "INSERT " + stationItem.getSrcCallsign() + " '" + stationItem.getMaidenHead() + "'");
//Log.i(TAG, "INSERT " + stationItem.getSrcCallsign() + " '" + stationItem.getMaidenHead() + "'");
} catch (SQLiteConstraintException ex) {
oldStationItem = _stationItemDao.getStationItem(stationItem.getSrcCallsign());
}
@ -38,7 +38,7 @@ public class StationItemRepository {
if (oldStationItem != null) {
oldStationItem.updateFrom(stationItem);
_stationItemDao.updateStationItem(oldStationItem);
Log.i(TAG, "UPDATE " + oldStationItem.getSrcCallsign() + " '" + oldStationItem.getMaidenHead() + "'");
//Log.i(TAG, "UPDATE " + oldStationItem.getSrcCallsign() + " '" + oldStationItem.getMaidenHead() + "'");
}
});
}