Skip to content

Commit

Permalink
release qmui to 1.4.0, arch to 0.6.0 and lint to 1.1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgspine committed Jul 12, 2019
1 parent 570afdb commit 7eb55d3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
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.3.1"
versionName "1.4.0"
}
buildTypes {
debug {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ public class QDUpgradeManager {
public static final int VERSION_1_1_12 = 1112;
public static final int VERSION_1_2_0 = 120;
public static final int VERSION_1_3_1 = 131;
private static final int sCurrentVersion = VERSION_1_3_1;
public static final int VERSION_1_4_0 = 140;
private static final int sCurrentVersion = VERSION_1_4_0;
private static QDUpgradeManager sQDUpgradeManager = null;
private UpgradeTipTask mUpgradeTipTask;

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

public CharSequence getUpgradeWord(final Activity activity) {
SpannableStringBuilder text = new SpannableStringBuilder();
if(mNewVersion == QDUpgradeManager.VERSION_1_3_1){
if(mNewVersion == QDUpgradeManager.VERSION_1_4_0){
text.append("1. Updated arch library to 0.5.0. Provide annotation MaybeFirstIn and DefaultFirstFragment.\n");
text.append("2. Updated lint library to 1.1.0 to Support Android Studio 3.4+.\n");
text.append("3. Replaced parent theme of QMUI.Compat with Theme.AppCompat.DayNight.\n");
text.append("4. Fixed issues: ");
final String[] issues = new String[]{
"636", "642"
};
handleIssues(activity, text, issues);
}else if(mNewVersion == QDUpgradeManager.VERSION_1_3_1){
text.append("1. ");
addNewWidget(activity, text, "QMUIContinuousNestedScrollLayout",
QDDataManager.getInstance().getDocUrl(QDContinuousNestedScrollFragment.class));
Expand Down

0 comments on commit 7eb55d3

Please sign in to comment.