Version bump, and added better explanation upgrade messages

pull/14/head
Tim Su 14 years ago
parent eeeeb5713a
commit 183edf4a7f

@ -1,8 +1,8 @@
<?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="4.0-beta" android:versionName="4.0.0"
android:versionCode="250"> android:versionCode="251">
<!-- widgets, alarms, and services will break if Astrid is installed on SD card --> <!-- widgets, alarms, and services will break if Astrid is installed on SD card -->
<!-- android:installLocation="internalOnly"> --> <!-- android:installLocation="internalOnly"> -->

@ -40,7 +40,7 @@ import com.todoroo.astrid.utility.AstridPreferences;
public final class UpgradeService { public final class UpgradeService {
public static final int V4_0_0 = 250; public static final int V4_0_0 = 251;
public static final int V3_9_2_3 = 210; public static final int V3_9_2_3 = 210;
public static final int V3_9_2_2 = 209; public static final int V3_9_2_2 = 209;
public static final int V3_9_2_1 = 208; public static final int V3_9_2_1 = 208;
@ -183,11 +183,13 @@ public final class UpgradeService {
if (from < V4_0_0) { if (from < V4_0_0) {
newVersionString(changeLog, "4.0.0 (2/23/12)", new String[] { newVersionString(changeLog, "4.0.0 (2/23/12)", new String[] {
"Subtasks", "Welcome to Astrid 4.0! Here's what's new:",
"New design and themes", "<b>Subtasks!!!</b><br>Press the Menu key and select 'Sort' to access",
"Amazon and Google search", "<b>New Look!</b><br>Customize how Astrid looks from the Settings menu",
"TaskRabbit integration", "<b>Task Rabbit!</b><br>Outsource your tasks with the help of trustworthy people",
"Tablet version" "<b>More Reliable Sync</b><br>Including fixes to Astrid.com and Google Tasks sync",
"<b>Tablet version</b><br>Enjoy Astrid on your luxurious Android tablet",
"Many bug and usability fixes"
}); });
} }
@ -431,7 +433,7 @@ public final class UpgradeService {
if(changeLog.length() == 0) if(changeLog.length() == 0)
return; return;
changeLog.append("Have a spectacular day!</body></html>"); changeLog.append("Please enjoy!</body></html>");
String color = ThemeService.getDialogTextColor(); String color = ThemeService.getDialogTextColor();
String changeLogHtml = "<html><body style='color: " + color +"'>" + changeLog; String changeLogHtml = "<html><body style='color: " + color +"'>" + changeLog;

Loading…
Cancel
Save