From 85b9d5da03aae7884f19bbf8de99dbea4e872913 Mon Sep 17 00:00:00 2001 From: mvglasow Date: Sat, 2 May 2015 18:56:48 +0000 Subject: Fix:port_android:Terminate process properly when quitting Navit Signed-off-by: mvglasow git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@6088 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/android/src/org/navitproject/navit/Navit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/navit/android/src/org/navitproject/navit/Navit.java b/navit/android/src/org/navitproject/navit/Navit.java index 884000083..38ce26ed2 100644 --- a/navit/android/src/org/navitproject/navit/Navit.java +++ b/navit/android/src/org/navitproject/navit/Navit.java @@ -709,7 +709,7 @@ public class Navit extends Activity NotificationManager nm = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); nm.cancel(R.string.app_name); NavitVehicle.removeListener(); - finish(); + NavitDestroy(); } public native void NavitMain(Navit x, String lang, int version, String display_density_string, String path, String path2); -- cgit v1.2.1