From f45c45cef5b83f88ebaab6c4f8b30911f7b407e2 Mon Sep 17 00:00:00 2001 From: Rafael Ortega <> Date: Tue, 8 Oct 2019 14:38:50 +0200 Subject: [PATCH] raise min and target versions --- dsbridge/build.gradle | 8 ++++---- dsbridge/src/main/java/wendu/dsbridge/DWebView.java | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dsbridge/build.gradle b/dsbridge/build.gradle index a85f057..40cac8c 100644 --- a/dsbridge/build.gradle +++ b/dsbridge/build.gradle @@ -1,12 +1,12 @@ apply plugin: 'com.android.library' android { - compileSdkVersion 23 - buildToolsVersion '25.0.0' + compileSdkVersion 28 + buildToolsVersion '25.0.3' defaultConfig { - minSdkVersion 11 - targetSdkVersion 23 + minSdkVersion 14 + targetSdkVersion 28 versionCode 1 versionName "1.0" diff --git a/dsbridge/src/main/java/wendu/dsbridge/DWebView.java b/dsbridge/src/main/java/wendu/dsbridge/DWebView.java index 26fb9c8..e98afd8 100644 --- a/dsbridge/src/main/java/wendu/dsbridge/DWebView.java +++ b/dsbridge/src/main/java/wendu/dsbridge/DWebView.java @@ -3,7 +3,6 @@ import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.app.Activity; -//import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; @@ -13,8 +12,6 @@ import android.os.Handler; import android.os.Looper; import android.os.Message; -import android.support.annotation.Keep; -import android.support.v7.app.AlertDialog; import android.util.AttributeSet; import android.util.Log; import android.view.Gravity; @@ -35,6 +32,9 @@ import android.widget.EditText; import android.widget.FrameLayout; +import androidx.annotation.Keep; +import androidx.appcompat.app.AlertDialog; + import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject;