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:
@@ -178,23 +178,33 @@ public class Intent {
|
||||
return this;
|
||||
}
|
||||
|
||||
public Intent putExtras (Intent src) {
|
||||
public Intent putExtras(Intent src) {
|
||||
// FIXME HACK
|
||||
this.extras = src.getExtras();
|
||||
return this;
|
||||
}
|
||||
|
||||
public Intent putExtras (Bundle extras) {
|
||||
public Intent putExtras(Bundle extras) {
|
||||
// FIXME HACK
|
||||
this.extras = extras;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Intent replaceExtras(Bundle extras) {
|
||||
this.extras = extras;
|
||||
return this;
|
||||
}
|
||||
|
||||
public Intent setClass(Context packageContext, Class<?> cls) {
|
||||
setComponent(new ComponentName(packageContext, cls));
|
||||
return this;
|
||||
}
|
||||
|
||||
public Intent setClassName(String packageName, String className) {
|
||||
setComponent(new ComponentName(packageName, className));
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getStringExtra(String name) {
|
||||
return (String)extras.get(name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user