summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobrun <tobrun@mapbox.com>2016-03-29 10:03:05 +0200
committerBrad Leege <bleege@gmail.com>2016-03-29 13:41:36 -0500
commitbbab5a5b5e9b3cd2461a1c088f8610e6f1938686 (patch)
tree806ae221b75d3ff4e1578a7bcb2036a59c2de907
parentaf4871f7bf8ec6717b9bba2245af3a7ad7187ed5 (diff)
downloadqtlocation-mapboxgl-bbab5a5b5e9b3cd2461a1c088f8610e6f1938686.tar.gz
[android] #4510 - clean up test app with onStart/onStart references.
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/MainActivity.java9
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/MaxMinZoomActivity.java12
2 files changed, 0 insertions, 21 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/MainActivity.java b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/MainActivity.java
index 45d6d33774..17bf767264 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/MainActivity.java
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/MainActivity.java
@@ -245,8 +245,6 @@ public class MainActivity extends AppCompatActivity {
!= PackageManager.PERMISSION_GRANTED)) {
toggleGps(false);
}
-
- mMapView.onStart();
}
// Called when our app comes into the foreground
@@ -266,13 +264,6 @@ public class MainActivity extends AppCompatActivity {
}
@Override
- protected void onStop() {
- super.onStop();
-
- mMapView.onStop();
- }
-
- @Override
protected void onDestroy() {
super.onDestroy();
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/MaxMinZoomActivity.java b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/MaxMinZoomActivity.java
index a5fa5d61bc..f167e1e5e6 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/MaxMinZoomActivity.java
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/java/com/mapbox/mapboxsdk/testapp/MaxMinZoomActivity.java
@@ -91,12 +91,6 @@ public class MaxMinZoomActivity extends AppCompatActivity {
}
@Override
- protected void onStart() {
- super.onStart();
- mMapView.onStart();
- }
-
- @Override
public void onResume() {
super.onResume();
mMapView.onResume();
@@ -109,12 +103,6 @@ public class MaxMinZoomActivity extends AppCompatActivity {
}
@Override
- protected void onStop() {
- super.onStop();
- mMapView.onStop();
- }
-
- @Override
protected void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);
mMapView.onSaveInstanceState(outState);