diff --git a/GNSSLogger/app/app.iml b/GNSSLogger/app/app.iml
index 9db81a8..10996d5 100644
--- a/GNSSLogger/app/app.iml
+++ b/GNSSLogger/app/app.iml
@@ -76,13 +76,20 @@
+
+
+
+
+
+
+
diff --git a/GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/MainActivity.java b/GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/MainActivity.java
index 9d168c6..d30aac8 100755
--- a/GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/MainActivity.java
+++ b/GNSSLogger/app/src/main/java/com/google/android/apps/location/gps/gnsslogger/MainActivity.java
@@ -122,6 +122,12 @@ public class MainActivity extends AppCompatActivity
unbindService(mConnection);
}
+ @Override
+ protected void onDestroy(){
+ mGnssContainer.unregisterAll();
+ super.onDestroy();
+ }
+
@Override
protected void onCreate(Bundle savedInstanceState) {
SharedPreferences sharedPreferences = PreferenceManager.
diff --git a/GNSSLogger/local.properties b/GNSSLogger/local.properties
deleted file mode 100644
index a8ab848..0000000
--- a/GNSSLogger/local.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-## This file is automatically generated by Android Studio.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must *NOT* be checked into Version Control Systems,
-# as it contains information specific to your local configuration.
-#
-# Location of the SDK. This is only used by Gradle.
-# For customization when using a Version Control System, please read the
-# header note.
-#Mon Jul 31 15:20:15 PDT 2017
-ndk.dir=/usr/local/google/home/seangao/Android/Sdk/ndk-bundle
-sdk.dir=/usr/local/google/home/seangao/Android/Sdk