diff --git a/qmui/build.gradle b/qmui/build.gradle index be87cbdca..fd0c89b9d 100644 --- a/qmui/build.gradle +++ b/qmui/build.gradle @@ -1,7 +1,7 @@ apply plugin: 'com.android.library' group = 'com.qmuiteam' -version = "1.1.8" // QMUI 发布到 bintray 的版本号 +version = "1.1.9" // QMUI 发布到 bintray 的版本号 //noinspection GroovyMissingReturnStatement android { diff --git a/qmuidemo/build.gradle b/qmuidemo/build.gradle index b718cf6a2..104c190ec 100644 --- a/qmuidemo/build.gradle +++ b/qmuidemo/build.gradle @@ -25,7 +25,7 @@ android { minSdkVersion parent.ext.minSdkVersion targetSdkVersion parent.ext.targetSdkVersion versionCode gitVersion - versionName "1.1.8" + versionName "1.1.9" } buildTypes { debug { diff --git a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java index 5d269da5f..4b2e8861d 100644 --- a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java +++ b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java @@ -19,7 +19,8 @@ public class QDUpgradeManager { public static final int VERSION_1_1_6 = 116; public static final int VERSION_1_1_7 = 117; public static final int VERSION_1_1_8 = 118; - private static final int sCurrentVersion = VERSION_1_1_8; + public static final int VERSION_1_1_9 = 119; + private static final int sCurrentVersion = VERSION_1_1_9; private static QDUpgradeManager sQDUpgradeManager = null; private UpgradeTipTask mUpgradeTipTask; diff --git a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java index 5397067dc..5c9745f0e 100644 --- a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java +++ b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java @@ -49,7 +49,10 @@ private void appendBlockSpace(Context context, SpannableStringBuilder builder) { public CharSequence getUpgradeWord(final Activity activity) { SpannableStringBuilder text = new SpannableStringBuilder(); - if (mNewVersion == QDUpgradeManager.VERSION_1_1_8) { + if(mNewVersion == QDUpgradeManager.VERSION_1_1_9){ + text.append("1. Fixed an error that fitSystemWindows does not work in QMUIWebContainer.\n"); + text.append("2. Fixed an error that swiping back would blink.\n"); + } else if (mNewVersion == QDUpgradeManager.VERSION_1_1_8) { text.append("1. Implemented QMUIWebView (beta), where supports for env(safe-area-inset-*) in css were added.\n"); text.append("2. Feature: QMUIQQFaceView supports gravity(left/right/center-horizontal) attribute.\n"); text.append("3. Feature: allows setting shadow color on Android ROM version 9 and higher.\n");