短剧优化
This commit is contained in:
@@ -860,6 +860,8 @@ public class LiveAudienceActivity extends LiveActivity {
|
||||
if (!TextUtils.isEmpty(event.getMethod())) {
|
||||
if (TextUtils.equals(event.getMethod(), "closeLiveRoom")) {
|
||||
onBackPressed();
|
||||
}else if (TextUtils.equals(event.getMethod(), "androidtoCommunityVideo")) {
|
||||
RouteUtil.forwardCommunityActivity();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -161,6 +161,13 @@ public class LiveGameDialogFragment extends AbsDialogFragment {
|
||||
.setLiveZhuangBana(true).
|
||||
setDialogClose(true).
|
||||
setPageClose(false), "androidObject");
|
||||
|
||||
|
||||
/* mWebView.addJavascriptInterface(JavascriptInterfaceUtils.getInstance().setmContext(getActivity(), mWebView)
|
||||
.setLiveZhuangBana(true).
|
||||
setDialogClose(true).
|
||||
setPageClose(false), "androidObject");*/
|
||||
|
||||
mWebView.getSettings().setJavaScriptEnabled(true);
|
||||
mWebView.getSettings().setDomStorageEnabled(true);
|
||||
String appCachePath = mContext.getCacheDir().getAbsolutePath();
|
||||
@@ -417,6 +424,8 @@ public class LiveGameDialogFragment extends AbsDialogFragment {
|
||||
);
|
||||
|
||||
}
|
||||
}else if (TextUtils.equals(event.getMethod(), "androidtoCommunityVideo")) {
|
||||
RouteUtil.forwardCommunityActivity();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user