title: onMapReady not calling even though the map display without any error
body: <p>I'm trying to display a simple map using Google map API v2 in an Android application. I'm following the <a href="https://developers.google.com/maps/documentation/android/map" rel="noreferrer">Map API Documentation</a> instructions. But I think the <code>onMapReady</code> is not calling for some reason. I'm using <code>google-play-services_lib</code> version <code>6587000</code>. My phone has <code>google-play-services_lib</code> verion <code>6587038</code>, I believe.</p>
  
  <p>Google map is working with initial controls. Can someone help me to correct this error?</p>
  
  <pre><code>public class MapDisplay extends FragmentActivity
  implements OnMapReadyCallback {
  
  private GoogleMap mMap;
  private Location mCurrentLocation;
  private MarkerOptions mMarkerOptions ;
      private MapFragment mMapFragment;
  
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.location_map);
  
      /** not needed
              mMapFragment = MapFragment.newInstance();
              FragmentTransaction fragmentTransaction =
                      getFragmentManag
  
  er().beginTransaction();
              fragmentTransaction.add(R.id.map, mMapFragment);
              fragmentTransaction.commit();*/
  
      /**corrected code*/
              MapFragment mapFragment = (MapFragment) getFragmentManager()
                      .findFragmentById(R.id.map);
                  mapFragment.getMapAsync(this);
  
  }
  
  
  @Override
  public void onMapReady(GoogleMap map) {
  
      toast("Map ready");
      Log.d("--***** MAP  ","::Map ready");
  
      LatLng sydney = new LatLng(-33.867, 151.206);
  
      map.setMyLocationEnabled(true);
      map.moveCamera(CameraUpdateFactory.newLatLngZoom(sydney, 13));
  
      map.addMarker(new MarkerOptions()
              .title("Sydney")
              .snippet("The most populous city in Australia.")
              .position(sydney));
  
  
      }
  
   private void toast(String text){
          Toast toast = Toast.makeText(this, text, Toast.LENGTH_SHORT);
          toast.show();
       }
  
     }
  </code></pre>
  
  <blockquote>
    <p>location_map.xml file</p>
  </blockquote>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;fragment xmlns:android="http://schemas.android.com/apk/res/android"
      android:name="com.google.android.gms.maps.MapFragment"
      android:id="@+id/map"
      android:layout_width="match_parent"
      android:layout_height="match_parent"/&gt;
  </code></pre>