Permalink
Browse files

Version bump and upgrade message

  • Loading branch information...
1 parent 3e7f643 commit 085e10bb2a997bcf82149e7da3f0123f8a0b54dc @sbosley sbosley committed Aug 14, 2012
Showing with 10 additions and 2 deletions.
  1. +2 −2 astrid/AndroidManifest.xml
  2. +8 −0 astrid/src/com/todoroo/astrid/service/UpgradeService.java
@@ -6,8 +6,8 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.timsu.astrid"
- android:versionName="4.2.5"
- android:versionCode="276">
+ android:versionName="4.2.6"
+ android:versionCode="277">
<!-- widgets, alarms, and services will break if Astrid is installed on SD card -->
<!-- android:installLocation="internalOnly"> -->
@@ -46,6 +46,7 @@
public final class UpgradeService {
+ public static final int V4_2_6 = 277;
public static final int V4_2_5 = 276;
public static final int V4_2_4 = 275;
public static final int V4_2_3 = 274;
@@ -215,6 +216,13 @@ public void showChangeLog(Context context, int from) {
Preferences.clear(AstridPreferences.P_UPGRADE_FROM);
StringBuilder changeLog = new StringBuilder();
+ if (from >= V4_2_0 && from < V4_2_6) {
+ newVersionString(changeLog, "4.2.6 (8/14/12)", new String[] {
+ "Tablet users can opt to use the single-pane phone layout (Settings -> Astrid Labs)",
+ "Minor polish and bug fixes"
+ });
+ }
+
if (from >= V4_2_0 && from < V4_2_5) {
newVersionString(changeLog, "4.2.5 (8/13/12)", new String[] {
"Improved tablet UX",

0 comments on commit 085e10b

Please sign in to comment.