~mcveat/tomdroid/notebooks

« back to all changes in this revision

Viewing changes to src/org/tomdroid/sync/SyncService.java

  • Committer: Piotr Adamski
  • Date: 2012-08-21 09:15:52 UTC
  • Revision ID: mcveat@gmail.com-20120821091552-z237uy512n91fkfe
Tags represented as Set. Cleaned up all modified classes

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
        public final static int REMOTE_NOTES_DELETED = 22;
100
100
        public final static int SYNC_CANCELLED = 23;
101
101
        public final static int LATEST_REVISION = 24;
102
 
        
103
 
        public SyncService(Activity activity, Handler handler) {
 
102
 
 
103
    public SyncService(Activity activity, Handler handler) {
104
104
                
105
105
                this.activity = activity;
106
106
                this.handler = handler;
488
488
                        bundle.putString("guid",remoteNote.getGuid());
489
489
                        bundle.putString("date",remoteNote.getLastChangeDate().format3339(false));
490
490
                        bundle.putString("content", remoteNote.getXmlContent());
491
 
                        bundle.putString("tags", remoteNote.getTags());
 
491
                        bundle.putSerializable("tags", remoteNote.getTags());
492
492
                        bundle.putInt("datediff", compareBoth);
493
493
                        
494
494
                        // put local guid if conflicting titles