1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-12-22 19:08:03 +01:00

Increase min-api to 17

This commit is contained in:
vanitasvitae 2016-08-06 22:53:20 +02:00
parent 73b72985ea
commit d6b1641854
2 changed files with 1 additions and 3 deletions

View file

@ -8,7 +8,7 @@ android {
defaultConfig {
applicationId "com.github.dfa.diaspora_android"
minSdkVersion 15
minSdkVersion 17
targetSdkVersion 24
versionCode 5
versionName "0.1.4"

View file

@ -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