mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-28 18:15:37 -05:00
FIx. debugging
This commit is contained in:
parent
ceb4f2ad7f
commit
0a580324bf
2 changed files with 1 additions and 4 deletions
|
@ -13,9 +13,6 @@ android {
|
|||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
debug {
|
||||
debuggable true
|
||||
}
|
||||
}
|
||||
|
||||
flavorDimensions 'scratchjrversion'
|
||||
|
|
|
@ -365,7 +365,7 @@ public class ScratchJrActivity
|
|||
webSettings.setDisplayZoomControls(false);
|
||||
webSettings.setLoadWithOverviewMode(false);
|
||||
webSettings.setUseWideViewPort(false);
|
||||
if (0 != (getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE)) {
|
||||
if (BuildConfig.DEBUG) {
|
||||
WebView.setWebContentsDebuggingEnabled(true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue