comment->method_name

This commit is contained in:
ligi 2014-07-15 03:54:58 +02:00
parent f52b20c387
commit ca08b13b07

View file

@ -14,12 +14,16 @@ public class FullscreenMapActivity extends TicketViewActivityBase {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (ConnectionResult.SUCCESS != GooglePlayServicesUtil.isGooglePlayServicesAvailable(this)) { // no google play services
NavigateToLocationsDialog.perform(this, optionalPass.get(), true); // fallback
if (ConnectionResult.SUCCESS != GooglePlayServicesUtil.isGooglePlayServicesAvailable(this)) {
fallbackForMissingGooglePlay();
}
setContentView(R.layout.fullscreen_map);
}
private void fallbackForMissingGooglePlay() {
NavigateToLocationsDialog.perform(this, optionalPass.get(), true);
}
}