diff -r dcd0ca396fa1 -r 5aadd1120515 notes/notesui/notesviews/src/notesmainview.cpp --- a/notes/notesui/notesviews/src/notesmainview.cpp Tue Oct 05 14:14:48 2010 +0530 +++ b/notes/notesui/notesviews/src/notesmainview.cpp Fri Oct 15 12:10:36 2010 +0530 @@ -470,9 +470,10 @@ // Cleanup. mNotesEditor->deleteLater(); - // set captured screenshot as invalid as the control is returned back - // to the main view - captureScreenShot(false); + //save the activity + //if app closed from task switcher ot red key + captureScreenShot(true); + saveActivity(); OstTraceFunctionExit0( NOTESMAINVIEW_HANDLEEDITINGCOMPLETED_EXIT ); }