// Setup a notification in the android notification bar, remove it in the exit() function\r
NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);\r
Notification notification = new Notification(R.drawable.icon,"Navit is running",0);\r
- notification.flags = Notification.FLAG_FOREGROUND_SERVICE;\r
+ notification.flags = Notification.FLAG_NO_CLEAR;\r
PendingIntent appIntent = PendingIntent.getActivity(getApplicationContext(), 0, getIntent(), 0);\r
notification.setLatestEventInfo(getApplicationContext(), "Navit running", "Navit still running", appIntent);\r
nm.notify(R.string.app_name, notification);\r