diff options
author | korrosa <korrosa@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-03-14 08:35:17 +0000 |
---|---|---|
committer | korrosa <korrosa@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-03-14 08:35:17 +0000 |
commit | 440fb9302f5aa121a936db7db78e4ad84ba0c6c2 (patch) | |
tree | 67916efbc1fe9f9faa1f32ba1f3ff24679f575a6 /navit/android/src | |
parent | 57b089ca603aae5a93c785eab93c4f09b1a04cae (diff) | |
download | navit-440fb9302f5aa121a936db7db78e4ad84ba0c6c2.tar.gz |
Fix:port/android:Revert r4975 due to incomplete commit.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4976 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/android/src')
-rw-r--r-- | navit/android/src/org/navitproject/navit/Navit.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/android/src/org/navitproject/navit/Navit.java b/navit/android/src/org/navitproject/navit/Navit.java index ae156a941..cac593edb 100644 --- a/navit/android/src/org/navitproject/navit/Navit.java +++ b/navit/android/src/org/navitproject/navit/Navit.java @@ -277,7 +277,7 @@ public class Navit extends Activity // Setup a notification in the android notification bar, remove it in the exit() function
NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
Notification notification = new Notification(R.drawable.icon,"Navit is running",0);
- notification.flags = Notification.FLAG_FOREGROUND_SERVICE;
+ notification.flags = Notification.FLAG_NO_CLEAR;
PendingIntent appIntent = PendingIntent.getActivity(getApplicationContext(), 0, getIntent(), 0);
notification.setLatestEventInfo(getApplicationContext(), "Navit running", "Navit still running", appIntent);
nm.notify(R.string.app_name, notification);
|