comment->method_name
This commit is contained in:
parent
f52b20c387
commit
ca08b13b07
1 changed files with 6 additions and 2 deletions
|
@ -14,12 +14,16 @@ public class FullscreenMapActivity extends TicketViewActivityBase {
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
|
|
||||||
if (ConnectionResult.SUCCESS != GooglePlayServicesUtil.isGooglePlayServicesAvailable(this)) { // no google play services
|
if (ConnectionResult.SUCCESS != GooglePlayServicesUtil.isGooglePlayServicesAvailable(this)) {
|
||||||
NavigateToLocationsDialog.perform(this, optionalPass.get(), true); // fallback
|
fallbackForMissingGooglePlay();
|
||||||
}
|
}
|
||||||
|
|
||||||
setContentView(R.layout.fullscreen_map);
|
setContentView(R.layout.fullscreen_map);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void fallbackForMissingGooglePlay() {
|
||||||
|
NavigateToLocationsDialog.perform(this, optionalPass.get(), true);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue