Android Nougat compatibility: onstart/onstop on MapView (#6830)

* introduce onstart/onstop on MapView

* update wear module

* update fragments

* update changeling
This commit is contained in:
Tobrun
2016-10-31 13:17:56 +01:00
committed by GitHub
parent 38ee3408c2
commit ccc3964270
53 changed files with 749 additions and 189 deletions

View File

@@ -29,17 +29,29 @@ public class SimpleMapViewActivity extends WearableActivity {
}
@Override
public void onResume() {
protected void onStart() {
super.onStart();
mapView.onStart();
}
@Override
protected void onResume() {
super.onResume();
mapView.onResume();
}
@Override
public void onPause() {
protected void onPause() {
super.onPause();
mapView.onPause();
}
@Override
protected void onStop() {
super.onStop();
mapView.onStop();
}
@Override
public void onLowMemory() {
super.onLowMemory();