update
This commit is contained in:
parent
e0958f8d47
commit
681a6ceb1c
|
@ -537,7 +537,7 @@ public class GameMenu implements MenuCallback, View.OnClickListener {
|
|||
@Override
|
||||
public void onLog(String log) {
|
||||
if (fclBridge != null) {
|
||||
if (log.contains("OR:") || log.contains("ERROR:") || log.contains("INTERNAL ERROR:")){
|
||||
if (log.contains("OR:") || log.contains("ERROR:") || log.contains("INTERNAL ERROR:")) {
|
||||
return;
|
||||
}
|
||||
logWindow.appendLog(log);
|
||||
|
|
|
@ -187,9 +187,9 @@ public class FCLBridge implements Serializable {
|
|||
Intent intent = new Intent(Intent.ACTION_VIEW);
|
||||
String targetLink = link;
|
||||
if (targetLink.startsWith("file://")) {
|
||||
targetLink = targetLink.replace("file://","");
|
||||
} else if (targetLink.startsWith("file:")){
|
||||
targetLink = targetLink.replace("file:","");
|
||||
targetLink = targetLink.replace("file://", "");
|
||||
} else if (targetLink.startsWith("file:")) {
|
||||
targetLink = targetLink.replace("file:", "");
|
||||
}
|
||||
intent.setDataAndType(Uri.parse(targetLink), "*/*");
|
||||
context.startActivity(intent);
|
||||
|
|
|
@ -41,7 +41,7 @@ hooked_ProcessImpl_forkAndExec(JNIEnv *env, jobject process, jint mode, jbyteArr
|
|||
(*androidVm)->AttachCurrentThread(androidVm, &androidEnv, NULL);
|
||||
detachable = 1;
|
||||
}
|
||||
if (!androidEnv){
|
||||
if (!androidEnv) {
|
||||
FCL_INTERNAL_LOG("forkAndExec error:androidEnv in null");
|
||||
}
|
||||
jmethodID method_OpenLink = (*androidEnv)->GetStaticMethodID(androidEnv, fcl.class_FCLBridge, "openLink",
|
||||
|
|
Loading…
Reference in New Issue