From c0f02c6a33a63ae15dfbb92ec19d5ca05f022a9b Mon Sep 17 00:00:00 2001 From: cgspine Date: Fri, 10 Aug 2018 18:26:11 +0800 Subject: [PATCH] release to 1.1.6 --- arch/build.gradle | 2 +- qmui/build.gradle | 2 +- qmuidemo/build.gradle | 2 +- .../qmuidemo/manager/QDUpgradeManager.java | 3 ++- .../qmuidemo/manager/UpgradeTipTask.java | 16 +++++++++++++++- 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/arch/build.gradle b/arch/build.gradle index 76d8f2410..8acc927b2 100644 --- a/arch/build.gradle +++ b/arch/build.gradle @@ -1,7 +1,7 @@ apply plugin: 'com.android.library' group = 'com.qmuiteam' -version = "0.1.1" +version = "0.1.2" android { diff --git a/qmui/build.gradle b/qmui/build.gradle index b3d7ee5b0..b730c948c 100644 --- a/qmui/build.gradle +++ b/qmui/build.gradle @@ -1,7 +1,7 @@ apply plugin: 'com.android.library' group = 'com.qmuiteam' -version = "1.1.5" // QMUI 发布到 bintray 的版本号 +version = "1.1.6" // QMUI 发布到 bintray 的版本号 //noinspection GroovyMissingReturnStatement android { diff --git a/qmuidemo/build.gradle b/qmuidemo/build.gradle index 0d8567985..f24dc1b82 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.5" + versionName "1.1.6" } 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 d4ddaa460..2f7f9452d 100644 --- a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java +++ b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java @@ -16,7 +16,8 @@ public class QDUpgradeManager { public static final int VERSION_1_1_3 = 113; public static final int VERSION_1_1_4 = 114; public static final int VERSION_1_1_5 = 115; - private static final int sCurrentVersion = VERSION_1_1_5; + public static final int VERSION_1_1_6 = 116; + private static final int sCurrentVersion = VERSION_1_1_6; 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 1283eecc5..71c3f5e3c 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,21 @@ private void appendBlockSpace(Context context, SpannableStringBuilder builder) { public CharSequence getUpgradeWord(final Activity activity) { SpannableStringBuilder text = new SpannableStringBuilder(); - if (mNewVersion == QDUpgradeManager.VERSION_1_1_5) { + if(mNewVersion == QDUpgradeManager.VERSION_1_1_6){ + text.append("1. Feature: QMUINotchHelper, a new helper class for notch compatible. \n"); + appendBlockSpace(activity, text); + text.append("2. Added \"more\" click event to QMUIQQFaceView.\n"); + appendBlockSpace(activity, text); + text.append("3. Added text color setter for QMUITouchableSpan.\n"); + appendBlockSpace(activity, text); + text.append("4. The method startFragmentAndDestroyCurrent in QMUIFragment supports transfer of target fragment.\n"); + appendBlockSpace(activity, text); + text.append("5. Issue fixes: "); + final String[] issues = new String[]{ + "334", "352" + }; + handleIssues(activity, text, issues); + }else if (mNewVersion == QDUpgradeManager.VERSION_1_1_5) { text.append("1. Code optimization for QMUIDialog.\n"); appendBlockSpace(activity, text); text.append("2. Added a return value to KeyboardVisibilityEventListener, which " +