Skip to content

Commit

Permalink
Version bump and upgrade message
Browse files Browse the repository at this point in the history
  • Loading branch information
sbosley committed Aug 14, 2012
1 parent 3e7f643 commit 085e10b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions astrid/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"> -->
Expand Down
8 changes: 8 additions & 0 deletions astrid/src/com/todoroo/astrid/service/UpgradeService.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 085e10b

Please sign in to comment.