|
@@ -100,7 +100,8 @@ public class ExternalSiteWebView extends FileActivity {
|
|
|
// allow debugging (when building the debug version); see details in
|
|
|
// https://developers.google.com/web/tools/chrome-devtools/remote-debugging/webviews
|
|
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT &&
|
|
|
- (getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0) {
|
|
|
+ ((getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0 ||
|
|
|
+ getResources().getBoolean(R.bool.is_beta))) {
|
|
|
Log_OC.d(this, "Enable debug for webView");
|
|
|
WebView.setWebContentsDebuggingEnabled(true);
|
|
|
}
|