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) {
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue