api-impl: add stubs / simple stuff for OsmAnd

without native libs present, launches and renders white square
in map view; with native libs present, segfaults in bundled skia
This commit is contained in:
Mis012
2024-04-12 18:32:30 +02:00
parent fefd2f108b
commit 2802aaa28d
42 changed files with 2171 additions and 77 deletions

View File

@@ -1,5 +1,7 @@
package android.location;
import android.os.Bundle;
import java.util.HashSet;
import java.util.Set;
@@ -27,5 +29,11 @@ public class LocationManager {
locationListener.onLocationChanged(new Location(latitude, longitude, heading));
}
}
public boolean sendExtraCommand(String provider, String command, Bundle extras) {
return true;
}
public void removeUpdates(LocationListener listener) {
}
}