Changeset 6


Ignore:
Timestamp:
07/24/07 21:59:02 (6 years ago)
Author:
saua
Message:

don't save empty tracks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bbtracker/trunk/src/org/bbtracker/mobile/TrackManager.java

    r4 r6  
    215215 
    216216        public void maybeSafeTrack() { 
    217                 if (track != null && state != STATE_STATIC) { 
     217                if (track != null && state != STATE_STATIC && track.getPointCount() > 0) { 
    218218                        try { 
    219219                                TrackStore.getInstance().store(track); 
Note: See TracChangeset for help on using the changeset viewer.