Skip to content

Commit

Permalink
release to 1.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
cgspine committed Aug 10, 2018
1 parent 7cf130b commit c0f02c6
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 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.1.1"
version = "0.1.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.5" // QMUI 发布到 bintray 的版本号
version = "1.1.6" // 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.5"
versionName "1.1.6"
}
buildTypes {
debug {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 " +
Expand Down

0 comments on commit c0f02c6

Please sign in to comment.