Beispiel #1
0
 // this function removes a "deleted" tag
 public static void undeleteNote(Activity activity, Note note)
 {
     note.removeTag("system:deleted");
     Time now = new Time();
     now.SetToNow();
     note.setLastChangeDate(now);
     putNote(activity,note);
 }