title: addOnCompleteListener is Unchecked and crashes app
body: <p>I have this code:</p>
  
  <pre><code>// Using this method to center MyLocation as default location when app is started
      private void getDeviceLocation() {
          Log.d(TAG, "getDeviceLocation: getting the devices current location");
      mFusedLocationClient = LocationServices.getFusedLocationProviderClient(this);
  
      try {
  
          if (ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED &amp;&amp; ActivityCompat.checkSelfPermission(this, Manifest.permission.ACCESS_COARSE_LOCATION) != PackageManager.PERMISSION_GRANTED) {
              //Request Location Permission
              checkLocationPermission();
          } else {
          final Task location = mFusedLocationClient.getLastLocation();
              location.addOnCompleteListener(this, new OnCompleteListener() {
                  @Override
                  public void onComplete(@NonNull Task task) {
                      if (task.isSuccessful()) {
                          Log.d(TAG, "onComplete: found location!");
                          Location mLastLocation = (Location) task.getResult();
  
                          // mLastLocation = location;
                          if (mCurrentLocationMarker != null) {
                              mCurrentLocationMarker.remove();
                          }
  
                          LatLng latLng = new LatLng(mLastLocation.getLatitude(), mLastLocation.getLongitude());
                          MarkerOptions markerOptions = new MarkerOptions();
                          markerOptions.position(latLng);
                          markerOptions.title("My position");
                          markerOptions.icon(BitmapDescriptorFactory.fromResource(R.drawable.emptyicon));
                          mCurrentLocationMarker = mMap.addMarker(markerOptions);
                          mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(latLng, 15));
  
                      } else {
                          Log.d(TAG, "onComplete: current location is null");
                          Toast.makeText(MapsActivity.this, "unable to get current location", Toast.LENGTH_SHORT).show();
                      }
                  }
              });
          }
      } catch (SecurityException e) {
          Log.e(TAG, "getDeviceLocation: SecurityException: " + e.getMessage());
      }
  </code></pre>
  
  <p>the line: location.addCompleteListener is marked as unchecked by Android Studio and it crashes the app. So I have to make it "checked" in somehow. 
  This happened after the latest update patch for Android Studio.</p>
  
  <p>How do I solve this? </p>