notes/notesui/notesviews/src/notesmainview.cpp
changeset 83 5aadd1120515
parent 81 ce92091cbd61
--- 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 );
 }