Release 1.5
Этот коммит содержится в:
@@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.traccar.client"
|
||||
android:versionCode="5"
|
||||
android:versionName="1.4">
|
||||
android:versionCode="6"
|
||||
android:versionName="1.5">
|
||||
<application android:label="@string/app_name" android:icon="@drawable/ic_launcher">
|
||||
<activity android:name="TraccarActivity"
|
||||
android:label="@string/app_name"
|
||||
|
||||
@@ -124,12 +124,12 @@ public class TraccarService extends Service implements LocationListener {
|
||||
@Override
|
||||
public void onDestroy() {
|
||||
// Close connection
|
||||
if (connection) {
|
||||
if (connection != null) {
|
||||
connection.close();
|
||||
}
|
||||
|
||||
// Stop location updates
|
||||
if (locationManager) {
|
||||
if (locationManager != null) {
|
||||
locationManager.removeUpdates(this);
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user