version bump to Astrid 3.6.2, fix for google tasks crash and another minor crash

pull/14/head
Tim Su 15 years ago
parent 4fa87a35d9
commit b06885676d

@ -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="3.6.1" android:versionName="3.6.2"
android:versionCode="167"> android:versionCode="168">
<!-- 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"> -->

@ -171,12 +171,14 @@ public class FilterListActivity extends ExpandableListActivity {
@Override @Override
protected void onResume() { protected void onResume() {
super.onResume(); super.onResume();
if(adapter != null)
adapter.registerRecevier(); adapter.registerRecevier();
} }
@Override @Override
protected void onPause() { protected void onPause() {
super.onPause(); super.onPause();
if(adapter != null)
adapter.unregisterRecevier(); adapter.unregisterRecevier();
} }

@ -888,7 +888,9 @@ public class TaskAdapter extends CursorAdapter implements Filterable {
} }
name.setTextSize(fontSize); name.setTextSize(fontSize);
float detailTextSize = Math.max(12, fontSize * 14 / 20); float detailTextSize = Math.max(12, fontSize * 14 / 20);
if(viewHolder.details != null)
viewHolder.details.setTextSize(detailTextSize); viewHolder.details.setTextSize(detailTextSize);
if(viewHolder.dueDate != null)
viewHolder.dueDate.setTextSize(detailTextSize); viewHolder.dueDate.setTextSize(detailTextSize);
} }

@ -19,6 +19,7 @@ import com.todoroo.astrid.utility.AstridPreferences;
public final class UpgradeService { public final class UpgradeService {
public static final int V3_6_2 = 168;
public static final int V3_6_0 = 166; public static final int V3_6_0 = 166;
public static final int V3_5_0 = 165; public static final int V3_5_0 = 165;
public static final int V3_4_0 = 162; public static final int V3_4_0 = 162;
@ -110,7 +111,16 @@ public final class UpgradeService {
}); });
} else { } else {
// current message // current message
if(from < V3_6_0) { if(from >= V3_6_0 && from < V3_6_2) {
newVersionString(changeLog, "3.6.2 (12/11/10)", new String[] {
"Fix for Google Tasks crash on view list",
"Fix for Producteev crash sometimes during sync",
});
upgrade3To3_6(context);
}
// old messages
if(from >= V3_0_0 && from < V3_6_0) {
newVersionString(changeLog, "3.6.0 (11/13/10)", new String[] { newVersionString(changeLog, "3.6.0 (11/13/10)", new String[] {
"Astrid Power Pack is now launched to the Android Market. " + "Astrid Power Pack is now launched to the Android Market. " +
"New Power Pack features include 4x2 and 4x4 widgets and voice " + "New Power Pack features include 4x2 and 4x4 widgets and voice " +
@ -121,8 +131,6 @@ public final class UpgradeService {
}); });
upgrade3To3_6(context); upgrade3To3_6(context);
} }
// old messages
if(from >= V3_0_0 && from < V3_5_0) if(from >= V3_0_0 && from < V3_5_0)
newVersionString(changeLog, "3.5.0 (10/25/10)", new String[] { newVersionString(changeLog, "3.5.0 (10/25/10)", new String[] {
"Google Tasks Sync (beta!)", "Google Tasks Sync (beta!)",

Loading…
Cancel
Save