Merge pull request #1134 from terencehonles/chrome-debugging
Update IITC_Webview to allow remote debugging from Chrome
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user