Skip to content

Commit

Permalink
release to 1.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
cgspine committed Jun 11, 2018
1 parent 31b156c commit f193843
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
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.4" // QMUI 发布到 bintray 的版本号
version = "1.1.5" // 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.4"
versionName "1.1.5"
}
buildTypes {
debug {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ public class QDUpgradeManager {
public static final int VERSION_1_1_2 = 112;
public static final int VERSION_1_1_3 = 113;
public static final int VERSION_1_1_4 = 114;
private static final int sCurrentVersion = VERSION_1_1_4;
public static final int VERSION_1_1_5 = 115;
private static final int sCurrentVersion = VERSION_1_1_5;
private static QDUpgradeManager sQDUpgradeManager = null;
private UpgradeTipTask mUpgradeTipTask;

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

public CharSequence getUpgradeWord(final Activity activity) {
SpannableStringBuilder text = new SpannableStringBuilder();
if (mNewVersion == QDUpgradeManager.VERSION_1_1_4) {
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 " +
"determines whether OnGlobalLayoutListener is deleted.\n");
appendBlockSpace(activity, text);
text.append("3. Bug fix: getSignCount() in QMUITabSegment should return 0 " +
"if view is not visible.\n");
appendBlockSpace(activity, text);
text.append("4. Bug fix: fixed incorrect layout of translucent status bar may " +
"appear in Android 4.4.\n");
appendBlockSpace(activity, text);
text.append("5. Issue fixes: ");
final String[] issues = new String[]{
"304", "308"
};
handleIssues(activity, text, issues);
} else if (mNewVersion == QDUpgradeManager.VERSION_1_1_4) {
text.append("1. Added a new widget: QMUIPriorityLinearLayout.\n");
appendBlockSpace(activity, text);
text.append("2. Bug fix: marginRight does not make sense for controlling " +
Expand Down

0 comments on commit f193843

Please sign in to comment.