--- a/javamanager/javacaptain/inc.s60/pmc.h Tue Aug 31 15:09:22 2010 +0300
+++ b/javamanager/javacaptain/inc.s60/pmc.h Wed Sep 01 12:33:18 2010 +0100
@@ -23,6 +23,9 @@
#include <map>
+#include <AknGlobalNote.h>
+
+
#include "javaoslayer.h"
#include "logger.h"
#include "scopedlocks.h"
@@ -140,6 +143,13 @@
void showErrorNote()
{
LOG(EJavaCaptain, EInfo, "Process failed to exit gracefully");
+#ifdef RD_JAVA_EXIT_ERROR_DIALOG
+ //Print the dialog showing that force process kill was done.
+ CAknGlobalNote* globalNote = CAknGlobalNote::NewL();
+ globalNote->ShowNoteL(EAknGlobalErrorNote,
+ _L("Midp process failed to exit gracefully."));
+ delete globalNote;
+#endif
}
private: