Skip to content

Commit

Permalink
release qmui to 1.1.8 and release arch to 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cgspine committed Nov 21, 2018
1 parent 147b9fb commit 7066ff9
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion arch/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.library'

group = 'com.qmuiteam'
version = "0.2.1"
version = "0.2.2"

android {

Expand Down
2 changes: 1 addition & 1 deletion qmui/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: 'com.android.library'

group = 'com.qmuiteam'
version = "1.1.7" // QMUI 发布到 bintray 的版本号
version = "1.1.8" // QMUI 发布到 bintray 的版本号

//noinspection GroovyMissingReturnStatement
android {
Expand Down
2 changes: 1 addition & 1 deletion qmuidemo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ android {
minSdkVersion parent.ext.minSdkVersion
targetSdkVersion parent.ext.targetSdkVersion
versionCode gitVersion
versionName "1.1.7"
versionName "1.1.8"
}
buildTypes {
debug {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ public class QDUpgradeManager {
public static final int VERSION_1_1_5 = 115;
public static final int VERSION_1_1_6 = 116;
public static final int VERSION_1_1_7 = 117;
private static final int sCurrentVersion = VERSION_1_1_7;
public static final int VERSION_1_1_8 = 118;
private static final int sCurrentVersion = VERSION_1_1_8;
private static QDUpgradeManager sQDUpgradeManager = null;
private UpgradeTipTask mUpgradeTipTask;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,19 @@ private void appendBlockSpace(Context context, SpannableStringBuilder builder) {

public CharSequence getUpgradeWord(final Activity activity) {
SpannableStringBuilder text = new SpannableStringBuilder();
if(mNewVersion == QDUpgradeManager.VERSION_1_1_7){
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");
text.append("4. Feature: allows control of the size of left icon in QMUIGroupListView.Section by calling the method setLeftIconSize.\n");
text.append("5. Feature: supports custom web url matcher in QMUILinkify.\n");
text.append("6. Fixed some bugs and increased code robustness.");
} else if (mNewVersion == QDUpgradeManager.VERSION_1_1_7) {
text.append("1. Improved QMUINotchHelper to support Xiaomi. \n");
text.append("2. Improved drawing effect of QMUIQQFaceView. \n");
text.append("3. Fixed a bug where UI would become unresponsive " +
"if popBackStack was invoked during fragment transitions.");
}else if(mNewVersion == QDUpgradeManager.VERSION_1_1_6){
} else if (mNewVersion == QDUpgradeManager.VERSION_1_1_6) {
text.append("1. Feature: QMUINotchHelper, a new helper class for notch compatibility. \n");
appendBlockSpace(activity, text);
text.append("2. Added \"more\" click event to QMUIQQFaceView.\n");
Expand All @@ -68,7 +75,7 @@ public CharSequence getUpgradeWord(final Activity activity) {
"334", "352"
};
handleIssues(activity, text, issues);
}else if (mNewVersion == QDUpgradeManager.VERSION_1_1_5) {
} 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 " +
Expand Down

0 comments on commit 7066ff9

Please sign in to comment.