diff --git a/gradle.properties b/gradle.properties index 9c3ad6e61..0cacd21cc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -22,8 +22,8 @@ android.useAndroidX=true android.enableJetifier=true GROUP=com.qmuiteam -QMUI_VERSION=2.0.0-alpha08 -QMUI_ARCH_VERSION=2.0.0-alpha08 +QMUI_VERSION=2.0.0-alpha09 +QMUI_ARCH_VERSION=2.0.0-alpha09 QMUI_LINT_VERSION = 1.1.0 QMUI_SKIN_MAKER_VERSION = 0.0.1 POM_GIT_URL=https://github.com/Tencent/QMUI_Android/ 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 d501ce580..ce4e7a56f 100644 --- a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java +++ b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/QDUpgradeManager.java @@ -50,7 +50,8 @@ public class QDUpgradeManager { public static final int VERSION_2_0_0_alpha6 = -2006; public static final int VERSION_2_0_0_alpha7 = -2007; public static final int VERSION_2_0_0_alpha8 = -2008; - private static final int sCurrentVersion = VERSION_2_0_0_alpha8; + public static final int VERSION_2_0_0_alpha9 = -2009; + private static final int sCurrentVersion = VERSION_2_0_0_alpha9; 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 fa536858e..feba6c143 100644 --- a/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java +++ b/qmuidemo/src/main/java/com/qmuiteam/qmuidemo/manager/UpgradeTipTask.java @@ -70,7 +70,9 @@ private void appendBlockSpace(Context context, SpannableStringBuilder builder) { public CharSequence getUpgradeWord(final Activity activity) { SpannableStringBuilder text = new SpannableStringBuilder(); - if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha8){ + if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha9){ + text.append("1. Some bug fixes."); + }else if(mNewVersion == QDUpgradeManager.VERSION_2_0_0_alpha8){ text.append("1. Feature: Add new widget QMUISeekBar.\n"); text.append("2. Feature: Provide QMUIFragment#registerEffect to replace startFragmentForResult.\n"); text.append("3. Feature: Provide QMUINavFragment to support child fragment navigation\n");