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/android/app/NativeActivity.java: fix crash due to Looper now not being a stub
This commit is contained in:
@@ -205,7 +205,7 @@ public class NativeActivity extends Activity implements SurfaceHolder.Callback,
|
||||
? savedInstanceState.getByteArray(KEY_NATIVE_SAVED_STATE)
|
||||
: null;
|
||||
|
||||
mNativeHandle = loadNativeCode(path, funcname, Looper.myQueue(),
|
||||
mNativeHandle = loadNativeCode(path, funcname, /*Looper.myQueue()*/null,
|
||||
getAbsolutePath(getFilesDir()), getAbsolutePath(getObbDir()),
|
||||
getAbsolutePath(getExternalFilesDir(null)),
|
||||
Build.VERSION.SDK_INT, getAssets(), nativeSavedState);
|
||||
|
||||
Reference in New Issue
Block a user