mirror of
https://github.com/gsantner/dandelion
synced 2024-11-21 20:02:07 +01:00
Increase min-api to 17
This commit is contained in:
parent
73b72985ea
commit
d6b1641854
2 changed files with 1 additions and 3 deletions
|
@ -8,7 +8,7 @@ android {
|
|||
|
||||
defaultConfig {
|
||||
applicationId "com.github.dfa.diaspora_android"
|
||||
minSdkVersion 15
|
||||
minSdkVersion 17
|
||||
targetSdkVersion 24
|
||||
versionCode 5
|
||||
versionName "0.1.4"
|
||||
|
|
|
@ -261,7 +261,6 @@ public class MainActivity extends AppCompatActivity
|
|||
private void setupWebView(Bundle savedInstanceState) {
|
||||
|
||||
webSettings = webView.getSettings();
|
||||
//TODO: Dangerous on API < 17. Can we do anything about this?
|
||||
webSettings.setJavaScriptEnabled(true);
|
||||
webSettings.setUseWideViewPort(true);
|
||||
webSettings.setLoadWithOverviewMode(true);
|
||||
|
@ -284,7 +283,6 @@ public class MainActivity extends AppCompatActivity
|
|||
webView.setOverScrollMode(WebView.OVER_SCROLL_ALWAYS);
|
||||
|
||||
// Setup WebView
|
||||
//TODO: Dangerous on API < 17. Can we do anything about this?
|
||||
webView.addJavascriptInterface(new JavaScriptInterface(), "AndroidBridge");
|
||||
|
||||
//Set proxy
|
||||
|
|
Loading…
Reference in a new issue