You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
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:
@@ -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) {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user