class AndroidLocationClient extends BaseLocationClient implements android.location.LocationListener {

    @Override
    @SuppressLint("MissingPermission") // Permission checks for location services handled in widgets
    public Location getLastLocation() {
        String provider = getProvider();
        if (provider != null) {
            return getLocationManager().getLastKnownLocation(provider);
        }

        return null;
    }

      AndroidLocationClient(@NonNull Context context);
      AndroidLocationClient(@NonNull LocationManager locationManager);

}