title: What is the new getMyLocation function instead of the deprecated one? (Android Java)
body: <p>I have a google maps activity and i want to get the location of the user,
  but the function i want to use: <code>getMyLocation()</code>  is deprecated.</p>
  
  <p>Here is my piece of code:</p>
  
  <pre><code>@Override
  public void onMapReady(GoogleMap googleMap) {
      mMap = googleMap;
      // This function is deprecated
      // What is the new function?
      mMap.getMyLocation();
  
      // Add a marker in Sydney and move the camera
      LatLng sydney = new LatLng(-34, 151);
      mMap.addMarker(new MarkerOptions().position(sydney).title("Marker in Sydney"));
      mMap.moveCamera(CameraUpdateFactory.newLatLng(sydney));
  }
  </code></pre>