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: misc stubs for stupid ad stuff in SubwaySurfers
This commit is contained in:
@@ -466,6 +466,16 @@ public class Activity extends ContextWrapper implements Window.Callback {
|
||||
return getSharedPreferences(getLocalClassName(), mode);
|
||||
}
|
||||
|
||||
protected void onNewIntent(Intent intent) {}
|
||||
|
||||
public final Activity getParent() {
|
||||
return null;
|
||||
}
|
||||
|
||||
public boolean hasWindowFocus() {
|
||||
return true; // FIXME?
|
||||
}
|
||||
|
||||
private native void nativeFinish(long native_window);
|
||||
public static native void nativeRecreateActivity(Activity activity);
|
||||
public static native void nativeStartActivity(Activity activity);
|
||||
|
||||
Reference in New Issue
Block a user