Merge pull request #1134 from terencehonles/chrome-debugging

Update IITC_Webview to allow remote debugging from Chrome
This commit is contained in:
Dave Ingram
2016-09-26 15:22:23 -07:00
committed by GitHub

View File

@ -59,6 +59,7 @@ public class IITC_WebView extends WebView {
mSettings.setDatabasePath(getContext().getApplicationInfo().dataDir + "/databases/");
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
setWebContentsDebuggingEnabled(true);
mJsInterface = new IITC_JSInterfaceKitkat(mIitc);
} else {
mJsInterface = new IITC_JSInterface(mIitc);