mirror of https://github.com/tasks/tasks
Fix amazon compile
parent
f3c7ad2648
commit
f7cef139d4
@ -0,0 +1,33 @@
|
|||||||
|
package org.tasks.location;
|
||||||
|
|
||||||
|
import android.content.Context;
|
||||||
|
import androidx.fragment.app.FragmentManager;
|
||||||
|
import java.util.List;
|
||||||
|
import org.tasks.data.Place;
|
||||||
|
|
||||||
|
public class GoogleMapFragment implements MapFragment {
|
||||||
|
|
||||||
|
public GoogleMapFragment(Context context) {}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void init(FragmentManager fragmentManager, MapFragmentCallback callback, boolean dark) {}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MapPosition getMapPosition() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void movePosition(MapPosition mapPosition, boolean animate) {}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setMarkers(List<Place> places) {}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void showMyLocation() {}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getMarkerId() {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,34 @@
|
|||||||
|
package org.tasks.location;
|
||||||
|
|
||||||
|
import android.content.Context;
|
||||||
|
import android.os.Bundle;
|
||||||
|
import java.util.List;
|
||||||
|
import org.tasks.Callback;
|
||||||
|
import org.tasks.data.Place;
|
||||||
|
|
||||||
|
public class GooglePlacesSearchProvider implements PlaceSearchProvider {
|
||||||
|
|
||||||
|
public GooglePlacesSearchProvider(Context context) {}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void restoreState(Bundle savedInstanceState) {}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void saveState(Bundle outState) {}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int getAttributionRes(boolean dark) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void search(
|
||||||
|
String query,
|
||||||
|
MapPosition bias,
|
||||||
|
Callback<List<PlaceSearchResult>> onSuccess,
|
||||||
|
Callback<String> onError) {}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void fetch(
|
||||||
|
PlaceSearchResult placeSearchResult, Callback<Place> onSuccess, Callback<String> onError) {}
|
||||||
|
}
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<bool name="support_geofences">false</bool>
|
||||||
|
</resources>
|
||||||
Loading…
Reference in New Issue