1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-11-25 22:02:08 +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 { defaultConfig {
applicationId "com.github.dfa.diaspora_android" applicationId "com.github.dfa.diaspora_android"
minSdkVersion 15 minSdkVersion 17
targetSdkVersion 24 targetSdkVersion 24
versionCode 5 versionCode 5
versionName "0.1.4" versionName "0.1.4"

View file

@ -261,7 +261,6 @@ public class MainActivity extends AppCompatActivity
private void setupWebView(Bundle savedInstanceState) { private void setupWebView(Bundle savedInstanceState) {
webSettings = webView.getSettings(); webSettings = webView.getSettings();
//TODO: Dangerous on API < 17. Can we do anything about this?
webSettings.setJavaScriptEnabled(true); webSettings.setJavaScriptEnabled(true);
webSettings.setUseWideViewPort(true); webSettings.setUseWideViewPort(true);
webSettings.setLoadWithOverviewMode(true); webSettings.setLoadWithOverviewMode(true);
@ -284,7 +283,6 @@ public class MainActivity extends AppCompatActivity
webView.setOverScrollMode(WebView.OVER_SCROLL_ALWAYS); webView.setOverScrollMode(WebView.OVER_SCROLL_ALWAYS);
// Setup WebView // Setup WebView
//TODO: Dangerous on API < 17. Can we do anything about this?
webView.addJavascriptInterface(new JavaScriptInterface(), "AndroidBridge"); webView.addJavascriptInterface(new JavaScriptInterface(), "AndroidBridge");
//Set proxy //Set proxy