update IITC_Webview to allow remote debugging from Chrome
This commit is contained in:
parent
a6f6d5268b
commit
9bd70f67a9
@ -59,6 +59,7 @@ public class IITC_WebView extends WebView {
|
|||||||
mSettings.setDatabasePath(getContext().getApplicationInfo().dataDir + "/databases/");
|
mSettings.setDatabasePath(getContext().getApplicationInfo().dataDir + "/databases/");
|
||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
|
||||||
|
setWebContentsDebuggingEnabled(true);
|
||||||
mJsInterface = new IITC_JSInterfaceKitkat(mIitc);
|
mJsInterface = new IITC_JSInterfaceKitkat(mIitc);
|
||||||
} else {
|
} else {
|
||||||
mJsInterface = new IITC_JSInterface(mIitc);
|
mJsInterface = new IITC_JSInterface(mIitc);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user