Prep release for 2.14.4 - version bump and changelog

Tim Su 16 years ago
parent 07d728c01a
commit c489c698c5

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.timsu.astrid" package="com.timsu.astrid"
android:versionName="2.14.2" android:versionCode="133"> android:versionName="2.14.3" android:versionCode="134">
<!-- ============================ Metadata ============================ --> <!-- ============================ Metadata ============================ -->

@ -82,7 +82,7 @@ public final class UpgradeService {
*/ */
@SuppressWarnings("nls") @SuppressWarnings("nls")
public void showChangeLog(int from, int to) { public void showChangeLog(int from, int to) {
StringBuilder changeLog = new StringBuilder("<html><body style='color: white'>"); StringBuilder changeLog = new StringBuilder();
if(from <= 130) if(from <= 130)
newVersionString(changeLog, "2.14.0 (5/24/10)", new String[] { newVersionString(changeLog, "2.14.0 (5/24/10)", new String[] {
@ -98,11 +98,20 @@ public final class UpgradeService {
"Fixed crashes occuring with certain languages (Spanish, Polish)", "Fixed crashes occuring with certain languages (Spanish, Polish)",
"Fixed backup service deleting too many old days backups", "Fixed backup service deleting too many old days backups",
}); });
if(from > 130 && from <= 133)
newVersionString(changeLog, "2.14.3 (6/11/10)", new String[] {
"Fixed crashes occuring with certain languages (Swedish, Turkish)",
"Fixed other crashes that users have reported",
});
if(changeLog.length() == 0)
return;
changeLog.append("</body></html>"); changeLog.append("</body></html>");
String changeLogHtml = "<html><body style='color: white'>" + changeLog;
WebView webView = new WebView(ContextManager.getContext()); WebView webView = new WebView(ContextManager.getContext());
webView.loadData(changeLog.toString(), "text/html", "utf-8"); webView.loadData(changeLogHtml, "text/html", "utf-8");
webView.setBackgroundColor(0); webView.setBackgroundColor(0);
new AlertDialog.Builder(ContextManager.getContext()) new AlertDialog.Builder(ContextManager.getContext())

Loading…
Cancel
Save