mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-28 18:15:37 -05:00
commit
c1a025dd97
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